Permalink
Browse files

Fixed setup.

  • Loading branch information...
1 parent b105301 commit 05d09a7cb5ce18d323b779440797debb0cb1da4f @stephrdev committed Feb 15, 2012
Showing with 5 additions and 3 deletions.
  1. +2 −1 MANIFEST.in
  2. +2 −1 setup.py
  3. +1 −1 userprofiles/contrib/profiles/forms.py
View
@@ -2,4 +2,5 @@ include LICENSE
include AUTHORS
include README.rst
recursive-include userprofiles/templates *.html
-recursive-include userprofiles/locale *
+recursive-include userprofiles/locale *.po
+recursive-include userprofiles/locale *.mo
View
@@ -14,7 +14,8 @@ def read(fname):
url='https://github.com/stephrdev/django-userprofiles/',
packages=find_packages(exclude=['example_project', 'example_project.*']),
package_data = {
- 'userprofiles': ['templates/*/*.html'],
+ 'userprofiles': ['templates/userprofiles/*.html', 'templates/userprofiles/*/*.html',
+ 'locale/de/LC_MESSAGES/*'],
},
classifiers=[
'Development Status :: 4 - Beta',
@@ -46,6 +46,6 @@ def save(self, *args, **kwargs):
return obj
- class Meta(object):
+ class Meta:
model = UserProfile
exclude = ('user',)

0 comments on commit 05d09a7

Please sign in to comment.