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