source: main/waeup.sirp/trunk/setup.py @ 6194

Last change on this file since 6194 was 6194, checked in by uli, 13 years ago

Require reportlab for PDF generation.

File size: 2.9 KB
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '0.2dev'
5
6install_requires =[
7    'setuptools',
8    'grok',
9    'grokcore.startup',
10    'grokui.admin',
11    'hurry.query',
12    'hurry.jquery',
13    'hurry.jqueryui',
14    'hurry.workflow',
15    # Add extra requirements here
16    'docutils', # For RST-processing...
17    'zope.xmlpickle',
18    'hurry.file',
19    #'hurry.yui',
20    'hurry.zoperesource',
21    'zc.sourcefactory',
22    'megrok.layout',
23    'reportlab',
24    'zope.app.authentication', # BBB: During switch to grok 1.1
25    'zope.app.file',
26    'zope.app.testing',        # XXX: test_permissions needs this
27    'zope.file',
28    'zope.testbrowser',        # XXX: test_permissions needs this
29    'zope.i18n',
30    'zope.mimetype',
31    ],
32
33tests_require = [
34    'z3c.testsetup',
35    'zope.app.testing',
36    'zope.testbrowser',
37    'zope.testing',
38    'unittest2',
39    ]
40
41docs_require = [
42    'Sphinx',
43    'collective.recipe.sphinxbuilder',
44    'docutils',
45    'roman',
46    'repoze.sphinx.autointerface',
47    ]
48
49def read(*rnames):
50    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
51
52long_description = (
53    read('README.txt')
54    + '\n\n'
55    + read('src', 'waeup', 'sirp', 'README.txt')
56    + '\n\n'
57    + read('CHANGES.txt')
58    + '\n\n'
59    + 'Download\n'
60    + '********\n'
61    )
62
63setup(name = 'waeup.sirp',
64      version = version,
65      description = "A student online information and  registration portal",
66      long_description = long_description,
67
68      keywords = "portal waeup sirp student university registration grok zope",
69      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
70      classifiers = [
71        'Development Status :: 3 - Alpha',
72        'Environment :: Web Environment',
73        'Intended Audience :: Education',
74        'License :: OSI Approved :: GNU General Public License (GPL)',
75        'Programming Language :: Python',
76        'Operating System :: POSIX',
77        'Operating System :: POSIX :: Linux',
78        'Framework :: Zope3',
79        'Topic :: Education',
80        'Topic :: Internet :: WWW/HTTP',
81        ],
82      author = "The WAeUP team.",
83      author_email = "",
84      url = "http://www.waeup.org/",
85      license = "GPL",
86      package_dir = {'': 'src'},
87      packages= find_packages('src'),
88      namespace_packages = ['waeup',],
89      include_package_data = True,
90      zip_safe = False,
91      install_requires = install_requires,
92      tests_require = tests_require,
93      extras_require = dict(
94        test = tests_require,
95        docs = docs_require,
96        ),
97      entry_points="""
98      # Add entry points here
99      [hurry.resource.libraries]
100      waeup_sirp = waeup.sirp.browser.resources:waeup_sirp
101      [console_scripts]
102      sirp-debug = grokcore.startup:interactive_debug_prompt
103      sirpctl = grokcore.startup:zdaemon_controller
104      [paste.app_factory]
105      main = grokcore.startup:application_factory
106      debug = grokcore.startup:debug_application_factory
107
108      """,
109      )
Note: See TracBrowser for help on using the repository browser.