hello-world-python-package
Install with either:
git clone https://github.com/gdamjan/hello-world-python-package.git
cd hello-world-python-package
pip install --user .
or directly
pip install --user git+https://github.com/gdamjan/hello-world-python-package.git#egg=cool_lib
PLEASE
- don't try to play games with sys.path - that's surely wrong, and ends in tears
- the same is true for PYTHONPATH too
- use PEP-370 instead of virtualenv, it's a standard feature and not a hack around the
python
executable. Quickest Howto about pep-370, usepip install --user
, and optionally set thePYTHONUSERBASE
environment variable to choose another directory than~/.local/
.
Thanks!