Skip to content

Commit

Permalink
updated MANIFEST.in and setup.py to include templates and templatetags
Browse files Browse the repository at this point in the history
when installing via "python setup.py install"
  • Loading branch information
aljosa committed Nov 27, 2009
1 parent 16b3437 commit 2b25448
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include AUTHORS
include LICENSE
include README
include README
recursive-include socialregistration/templates *.html
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
'Programming Language :: Python',
'Framework :: Django',
],
packages=['socialregistration']
packages=['socialregistration', 'socialregistration.templatetags'],
package_data={'socialregistration': ['templates/socialregistration/*.html'],}
)

if __name__ == '__main__':
Expand All @@ -33,4 +34,4 @@
setuptools.setup(**METADATA)
except ImportError:
import distutils.core
distutils.core.setup(**METADATA)
distutils.core.setup(**METADATA)

0 comments on commit 2b25448

Please sign in to comment.