get dependencies for an existing repo in your virtual env:
pipenv install
confirm you've got a virtual env:
pipenv run which python
download your development dependency:
pipenv install --dev [yourrepo]
activate virtual environment:
pipenv shell
close, deactivate virtual environment: (close shell or close subshell via:)
exit
review a package:
pip show [packagename]
Generate a distribution archive (wheel/tar files)
python setup.py sdist bdist_wheel # from setup.py dir
Upload the distribution archive to Pypi
twine upload --repository-url https://test.pypi.org/legacy dist/*
using pyinstaller to create a build (will create a build and dist folder):
pyinstaller [yourmainscript.py]
figure out where your user packages are installed
python -m site --user-base
blow away your virtual env (if pipfile exists):
pipenv --rm
If not, just delete directory manually.
Get jupyter notebook working with your pipenv python environment:
then you should be able to run
jupyter notebook
(although I need to activate from my start menu and then change the kernal in the notebook document to my virtual pipenv environment.from github here