Commits

nielx committed a5ce496

Fix setup.py to install the subpackages and to include the templates.

  • Participants
  • Parent commits 65c0ceb

Comments (0)

Files changed (1)

-from setuptools import setup
+from setuptools import setup, find_packages
 
 
 base_requirements = [
     author='Horst Gutmann',
     author_email='zerok@zerokspot.com',
     url='http://bitbucket.org/zerok/cmsplugin-news/',
-    packages=['cmsplugin_news'],
+    packages=find_packages(),
+    package_data={'cmsplugin_news': [
+        'locale/de/LC_MESSAGES/*',
+        'templates/cmsplugin_news/*.html',
+        'templates/cmsplugin_news/feeds/*.html',
+        'templates/cmsplugin_news/widgets/*.html']
+    },
     license='BSD',
     classifiers=[
         'Development Status :: 4 - Beta',