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

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

Require newer versions of zope.schema and zope.interface. They provide some bits we will make use of soon.

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