How is the approach at that link different then the code I just posted as having an issue? I can't see any difference. The issue is that it does install the package, but because there's no MANIFEST it won't include the templates, css, js, etc... It only includes the .py files. `setuptools_git` is a package that generates a MANIFEST based on what files are being tracked by git. It's intention is so you don't have to manually create and maintain a MANIFEST.
The issue is the approach that you've linked to doesn't provide a working package because none of the Pylons projects have a MANIFEST or some automated way of generating one for you automatically (ie setuptools_git or MANIFEST.in). On Fri, Jan 16, 2015 at 1:12 AM, Torsten Irländer <[email protected]> wrote: > 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 a topic in the > Google Groups "pylons-discuss" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pylons-discuss/d9KhI5gNMVY/unsubscribe. > To unsubscribe from this group and all its topics, 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.
