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

Last change on this file since 5867 was 5854, checked in by uli, 14 years ago

Require docutils.

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