1 | import os |
---|
2 | from setuptools import setup, find_packages |
---|
3 | |
---|
4 | version = '0.2dev' |
---|
5 | |
---|
6 | install_requires =[ |
---|
7 | 'setuptools', |
---|
8 | 'grok', |
---|
9 | 'grokui.admin', |
---|
10 | 'hurry.query', |
---|
11 | 'hurry.workflow', |
---|
12 | # Add extra requirements here |
---|
13 | 'zope.xmlpickle', |
---|
14 | 'hurry.yui', |
---|
15 | 'hurry.zoperesource', |
---|
16 | 'zc.sourcefactory', |
---|
17 | 'megrok.layout', |
---|
18 | 'zope.app.authentication', # BBB: During switch to grok 1.1 |
---|
19 | ], |
---|
20 | |
---|
21 | tests_require = [ |
---|
22 | 'z3c.testsetup', |
---|
23 | 'zope.app.testing', |
---|
24 | 'zope.testbrowser', |
---|
25 | 'zope.testing', |
---|
26 | ] |
---|
27 | |
---|
28 | def read(*rnames): |
---|
29 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
30 | |
---|
31 | long_description = ( |
---|
32 | read('README.txt') |
---|
33 | + '\n\n' |
---|
34 | + read('src', 'waeup', 'sirp', 'README.txt') |
---|
35 | + '\n\n' |
---|
36 | + read('CHANGES.txt') |
---|
37 | + '\n\n' |
---|
38 | + 'Download\n' |
---|
39 | + '********\n' |
---|
40 | ) |
---|
41 | |
---|
42 | setup(name = 'waeup.sirp', |
---|
43 | version = version, |
---|
44 | description = "A student online information and registration portal", |
---|
45 | long_description = long_description, |
---|
46 | |
---|
47 | keywords = "portal waeup sirp student university registration grok zope", |
---|
48 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
49 | classifiers = [ |
---|
50 | 'Development Status :: 3 - Alpha', |
---|
51 | 'Environment :: Web Environment', |
---|
52 | 'Intended Audience :: Education', |
---|
53 | 'License :: OSI Approved :: GNU General Public License (GPL)', |
---|
54 | 'Programming Language :: Python', |
---|
55 | 'Operating System :: POSIX', |
---|
56 | 'Operating System :: POSIX :: Linux', |
---|
57 | 'Framework :: Zope3', |
---|
58 | 'Topic :: Education', |
---|
59 | 'Topic :: Internet :: WWW/HTTP', |
---|
60 | ], |
---|
61 | author = "The WAeUP team.", |
---|
62 | author_email = "", |
---|
63 | url = "http://www.waeup.org/", |
---|
64 | license = "GPL", |
---|
65 | package_dir = {'': 'src'}, |
---|
66 | packages= find_packages('src'), |
---|
67 | namespace_packages = ['waeup',], |
---|
68 | include_package_data = True, |
---|
69 | zip_safe = False, |
---|
70 | install_requires = install_requires, |
---|
71 | tests_require = tests_require, |
---|
72 | extras_require = dict( |
---|
73 | test = tests_require, |
---|
74 | docs = ['Sphinx', |
---|
75 | 'z3c.recipe.sphinxdoc', |
---|
76 | ], |
---|
77 | ), |
---|
78 | entry_points=""" |
---|
79 | # Add entry points here |
---|
80 | """, |
---|
81 | ) |
---|