If you just want to get the latest version of a given branch you will not need to use the setuptools_git for this:
http://stackoverflow.com/questions/3472430/how-can-i-make-setuptools-install-a-package-thats-not-on-pypi One drawback seems to be the versioning of the software you fetch from the repo this way. AFAIKS there is no way to get the real version, but can can give a made-up version number like "deform-head" and make this in their own project as requirement. How does the setuptools_git approach handle this? 2015-01-15 21:14 GMT+01:00 Tim Tisdall <[email protected]>: > I'm trying to include deform as a dependency in a project and want to pull > the latest from github instead of using pypi's version. However, I'm > having some issues. Here's my really basic setup.py to demonstrate my > issue: > > from setuptools import setup > > setup( > install_requires=['deform'], > dependency_links = [ > "git+https://github.com/Pylons/deform.git#egg=deform", > ] > ) > > > After lots of looking around I figured out the issue was a lack of either > a MANIFEST.in or setuptools-git so I'm suggesting the following change: > https://github.com/Pylons/deform/pull/257 > > Basically it adds a setup_requires=['setuptools_git'] if there's a .git > directory. > > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
