Pylons / deform

A Python HTML form library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

static files not included when installing from git with pip

binbrain opened this issue · comments

Using pip to install deform directly from github in Python 3.4.2. None of the static files (js, css, po, mo, pt, etc...) are included.

pip install git+git://github.com/Pylons/deform

This is easily fixed by adding a MANIFEST.in file with the following.

recursive-include deform *.pt *.po *.mo *.rst *.eot *.svg *.ttf *.woff *.css *.js *.md *.png *.gif

We use setuptools-git to do this for us; we (really, I) prefer not to maintain a manual MANIFEST.in file. See the epic issue thread in the Pyramid issue tracker about this at Pylons/pyramid#121 . Apologies, none of the arguments there have swayed us towards adding one to any Pylons project, and we haven't found a really nice way of automating the creation of a MANIFEST.in.

#257 as a solution?