[Python-ideas] Version control system link in package meta data

Tymoteusz Jankowski tymoteusz.jankowski at gmail.com
Sat Mar 12 05:12:08 EST 2016


Hi,
tldr: install project and its requirements as cloned repositories (if
possible)

Let's say I'm developing requests
<https://github.com/kennethreitz/requests> library
which relies on these
<https://github.com/kennethreitz/requests/blob/master/requirements.txt>
 packages.
My workflow is this:

$ git clone https://github.com/kennethreitz/requests.git
$ cd requests
$ virtualenv requests
$ . requests/bin/activate.fish
$ pip install -r requirements.txt

Now I can change Requests library easily and commit changes, but when i
have to change a library from Requests' requirements I have to clone and
reinstall library (It's boring + I'm lazy).
I need tool that works like this:

$ magic-command install requests
1 the tool checks in Requests package meta where sources are stored
2 clone the source
3 do the same for each package from requirements (or fallback to current
method)

I could write the tool and be the only one in the world using it ;) but
there should be an option for storing repository link.
Could you advice anything?
I found this:
https://www.python.org/dev/peps/pep-0345/#project-url-multiple-use
but
1 I'm not sure it's right option
2 I can't see handler for this option in distutils
<https://bitbucket.org/carljm/python-distutils/src>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160312/0281e812/attachment.html>


More information about the Python-ideas mailing list