Metadata-Version: 2.1
Name: ensurepath
Version: 0.2.0
Summary: Ensure python, pip and with pip installed binarys (scripts for win) are in your PATH variable.
Author: Konxell
Maintainer: Konxell
License: Unlicense (Public Domain)
        ============================
        
        This is free and unencumbered software released into the public domain.
        
        Anyone is free to copy, modify, publish, use, compile, sell, or
        distribute this software, either in source code form or as a compiled
        binary, for any purpose, commercial or non-commercial, and by any
        means.
        
        In jurisdictions that recognize copyright laws, the author or authors
        of this software dedicate any and all copyright interest in the
        software to the public domain. We make this dedication for the benefit
        of the public at large and to the detriment of our heirs and
        successors. We intend this dedication to be an overt act of
        relinquishment in perpetuity of all present and future rights to this
        software under copyright law.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
        EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
        MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
        IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
        OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
        ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
        OTHER DEALINGS IN THE SOFTWARE.
        
        For more information, please refer to &lt;<http://unlicense.org/>&gt;
        
Project-URL: Issues, https://github.com/knoxell/ensurepath/issues
Project-URL: Repository, https://github.com/knoxell/ensurepath
Keywords: path,user path,windows,linux,msstore,ms store,terminal
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: The Unlicense (Unlicense)
Classifier: License :: Public Domain
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: pip
Requires-Dist: userpath~=1.9.2

# ensurepath

Does exactly one thing:

- ensure that python, pip and with pip installed binarys are in your path.

## use

```bash
$ pip install ensurepath
...
$ python -m ensurepath
...
```

## why

The need occured for me when we started using pipx in a python class just to use `pipx ensurepath`.
That is because the micrsoft store (msstore) install of python does add `python` and `pip` to the path, but not the `scripts` folder where with pip installed shell commands are located.
I tried to also make this script add pip and python to the path if they are not in yet, but have not tested this further.

# issues

If you encouter any error feel free to create an issue and I will try to help, when I have the time. But this is not a python install support service ;-)

This how not been tested thoroughly use at your own risk!

# thanks
This script only uses the [`userpath`](https://pypi.org/project/userpath/) module from [ofek](https://github.com/ofek), thank you!
