Skip to content Skip to sidebar Skip to footer

Easy-install Live Python Libraries/scripts

I have a number of python 'script suites' (as I call them) which I would like to make easy-to-install for my colleagues. I have looked into pip, and that seems really nice, but in

Solution 1:

I'm not sure if I understand your problem entirely, but you might want to use pip's editable installs[1]

Here's a brief example: In this artificial example let's suppose you want to use git as CVS.

git clone url_to_myrepo.git path/to/local_repository
pip install [--user] -e path/to/local_repository

The installation of the package will reflect the state of your local repository. Therefore there is no need to reinstall the package with pip when the remote repository gets updated. Whenever you pull changes to your local repository, the installation will be up-to-date as well.

[1] http://pip.readthedocs.org/en/latest/reference/pip_install.html#editable-installs

Post a Comment for "Easy-install Live Python Libraries/scripts"