changeset 1311:bc7d15a2a06c

setup.py: add foobar theme, cosmetic changes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 25 Mar 2012 01:03:11 +0100
parents e6a5cb1b2d57
children 1a2c41efc382
files setup.py
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Sun Mar 25 00:52:17 2012 +0100
+++ b/setup.py	Sun Mar 25 01:03:11 2012 +0100
@@ -12,7 +12,8 @@
     sys.stderr.write("%s %s requires Python 2.6 or greater.\n" % (project, str(version)))
     sys.exit(1)
 
-long_description = open('README.txt').read()
+with open('README.txt') as f:
+    long_description = f.read()
 
 from setuptools import setup, find_packages
 
@@ -55,6 +56,7 @@
     #package_dir={'MoinMoin.translations': 'MoinMoin/translations',
     #             'MoinMoin.static': 'MoinMoin/static',
     #             'MoinMoin.themes.modernized': 'MoinMoin/themes/modernized',
+    #             'MoinMoin.themes.foobar': 'MoinMoin/themes/foobar',
     #             'MoinMoin.templates': 'MoinMoin/templates',
     #             'MoinMoin.apps.admin.templates': 'MoinMoin/apps/admin/templates',
     #             'MoinMoin.apps.misc.templates': 'MoinMoin/apps/misc/templates',
@@ -63,6 +65,7 @@
     package_data={'MoinMoin.translations': ['MoinMoin.pot', '*.po', ],
                   'MoinMoin.static': ['*', ],
                   'MoinMoin.themes.modernized': ['*', ],
+                  'MoinMoin.themes.foobar': ['*', ],
                   'MoinMoin.templates': ['*.html', '*.xml', ],
                   'MoinMoin.apps.admin.templates': ['*.html', ],
                   'MoinMoin.apps.misc.templates': ['*.html', '*.txt', ],
@@ -92,7 +95,7 @@
         'whoosh>=2.3.2', # needed for indexed search
         'sphinx>=1.1', # needed to build the docs
         'pdfminer', # pdf -> text/plain conversion
-        'XStatic>=0.0.2',
+        'XStatic>=0.0.2', # support for static file pypi packages
         'XStatic-CKEditor>=3.6.1.2',
         'XStatic-jQuery>=1.6.1.4',
         'XStatic-jQuery-File-Upload>=4.4.2',