[13:25:25] <linovia> another thing I'd like to have different opinions about. What's the recommended way to declare the version ? Either I can put it in the setup.py and call the packaging in my package's __init__ to retrieve it. Or I can put it in the package's __init__ and import/use it within the setup.py.
[15:48:40] <pf_moore> linovia: see http://python-packaging-user-guide.readthedocs.org/en/latest/tutorial.html#version - basically, just put the version in both places
[15:48:40] <pf_moore> if you must have only a single copy of the version, see http://python-packaging-user-guide.readthedocs.org/en/latest/deployment.html#single-sourcing-the-version
[15:48:40] <pf_moore> (but all of the options there are messy to various degrees)
[16:47:21] <collinanderson> is there a convention at all for the name of a script which creates and syncs your venv with requirements.txt?
[17:08:18] <collinanderson> is that what python setup.py develop is for?
[17:23:26] <collinanderson> is there an easy way to convert a requirements.txt to command line arguments (i'd like to use -r, but the file is on a different server)
[17:24:19] <dstufft> collinanderson: no, but you can use a URL with -r !
[17:25:11] <collinanderson> currently, using fabric, i have: run('./virtenv/bin/pip install ' + ' '.join(line.strip() for line in open('requirements.txt') if not line.startswith('#')))