4 ms·
Honestly, I don't even bother "packaging" Python tools anymore. Just put it in all in a git repo, and pip can install using pip install git+https://myg.it/
by icy 6y ago
Honestly, I don't even bother "packaging" Python tools anymore. Just put it in all in a git repo, and pip can install using
pip install git+https://myg.it/repo.git
- bloaf 6y agoI do that where I work because we have an internal git that is wide open, but packages from the outside world need to get whitelisted. More controversially: With a few (<10) lines of code in your setup file, you can make an install-able module out of jupyter notebooks.
- anewhnaccount2 6y agoBut now packages on PyPI can't depend on it.
- nxpnsv 6y agoBut very often, that's ok...
- stinos 6y agoAlso automatcially handles the issue of public vs private etc. Note this [1] recommends using zip files for speed, especially for larger repositories: pip install https://github.com/django/django/archive/master.zip pip install https://github.com/django/django/archive/stable/1.7.x.zip [1] https://stackoverflow.com/questions/20101834/pip-install-from-git-repo-branch https://stackoverflow.com/questions/20101834/pip-install-fro...
- amelius 6y agoHow does this work for dependencies? And what if some of the dependencies are incompatible with the versions already on your system?