google-code-export / django-profile

Automatically exported from code.google.com/p/django-profile
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

template files not included in sdist/install #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We'd like to use django-profile in Transifex (http://transifex.org/) but we
noticed the templates directory provided is not installed by default with
'python setup.py install' and not included in the dist.

What steps will reproduce the problem?
1. python setup.py install
2. ls ..../lib/python2.5/site-packages/userprofile/templates
ls: No such file or directory

Also, the package isn't available on pypi, but that's a different issue. :(

Original issue reported on code.google.com by gle...@transifex.com on 12 May 2009 at 4:08

GoogleCodeExporter commented 9 years ago
I reported this here :
http://code.google.com/p/django-profile/issues/detail?id=47&can=1&q=angel#c3 
with a
patch for setup.py

Original comment by stephane.angel on 12 May 2009 at 8:09

GoogleCodeExporter commented 9 years ago
i agree, it would be very nice if  'userprofile.templates' was added to the 
'packages' list in setup.py .

currently, when deploying with pip and virtualenv (and fabric), you have to do 
some custom scripting to get the 
templates installed.  if they were included in the setup.py, pip could install 
them automatically.

this would be a very nice, simple fix!

Original comment by ammac...@gmail.com on 15 Jul 2009 at 12:32

GoogleCodeExporter commented 9 years ago
fixed with r419 et r424

Original comment by stephane.angel on 2 Feb 2010 at 5:06