Commits

Antoine Nguyen committed b684116

Fixed setup.py and added pattern into MANIFEST.in to include template files when running sdist.

  • Participants
  • Parent commits 2e28f20
  • Tags 0.1

Comments (0)

Files changed (2)

 include README.rst
+recursive-include cmsplugin_googlegroups_widgets/templates *.html
-from setuptools import setup, find_packages
+from setuptools import setup
+import os
 
 setup(
     name = "cmsplugin-googlegroups-widgets",
-    packages = find_packages(),
+    packages = ['cmsplugin_googlegroups_widgets',],
+
     package_data = {
-        'cmsplugin_googlegroups_widgets': [
-            'templates/cmsplugin_googlegroups_widgets/*.html'
+        '': [
+            'templates/cmsplugin_googlegroups_widgets/*.html',
         ]
     },
+
     version = "0.1",
     description = "Google Groups widgets for django-cms 2.2",
     long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
         ],
     include_package_data = True,
     zip_safe = False,
-    install_requires = ['setuptools'],
-    requires = [
-        'django-cms (>= 2.2)',
-        ],
+    install_requires = ['Django-CMS>=2.2'],
     )