1 | import os |
---|
2 | from setuptools import setup, find_packages |
---|
3 | |
---|
4 | version = '0.1dev' |
---|
5 | |
---|
6 | install_requires =[ |
---|
7 | 'setuptools', |
---|
8 | 'grok', |
---|
9 | 'grokui.admin', |
---|
10 | 'grokcore.startup', |
---|
11 | 'waeup.kofa', |
---|
12 | 'kofacustom.nigeria', |
---|
13 | ], |
---|
14 | |
---|
15 | # Having beaker installed additionally is a feature very recommended |
---|
16 | # for production use. The default buildout includes beaker for tests, |
---|
17 | # start scripts, and other parts that can benefit from it. The windows |
---|
18 | # buildout does not include it due to compiling problems with the |
---|
19 | # beaker package. |
---|
20 | beaker_require = [ |
---|
21 | 'dolmen.beaker', |
---|
22 | ] |
---|
23 | |
---|
24 | tests_require = [ |
---|
25 | 'z3c.testsetup', |
---|
26 | 'zope.app.testing', |
---|
27 | 'zope.testbrowser', |
---|
28 | 'zope.testing', |
---|
29 | 'unittest2', |
---|
30 | ] |
---|
31 | |
---|
32 | docs_require = [ |
---|
33 | 'Sphinx', |
---|
34 | 'collective.recipe.sphinxbuilder', |
---|
35 | 'docutils', |
---|
36 | 'roman', |
---|
37 | 'repoze.sphinx.autointerface', |
---|
38 | ] |
---|
39 | |
---|
40 | def read(*rnames): |
---|
41 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
42 | |
---|
43 | long_description = ( |
---|
44 | read('README.txt') |
---|
45 | + '\n\n' |
---|
46 | + read('src', 'waeup', 'aaua', 'README.txt') |
---|
47 | + '\n\n' |
---|
48 | + read('CHANGES.txt') |
---|
49 | + '\n\n' |
---|
50 | + 'Download\n' |
---|
51 | + '********\n' |
---|
52 | ) |
---|
53 | |
---|
54 | setup(name = 'waeup.aaua', |
---|
55 | version = version, |
---|
56 | description = "A customized waeup.kofa", |
---|
57 | long_description = long_description, |
---|
58 | |
---|
59 | keywords = "portal waeup kofa student university registration grok zope", |
---|
60 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
61 | classifiers = [ |
---|
62 | 'Development Status :: 3 - Alpha', |
---|
63 | 'Environment :: Web Environment', |
---|
64 | 'Intended Audience :: Education', |
---|
65 | 'License :: OSI Approved :: GNU General Public License (GPL)', |
---|
66 | 'Programming Language :: Python', |
---|
67 | 'Operating System :: POSIX', |
---|
68 | 'Operating System :: POSIX :: Linux', |
---|
69 | 'Framework :: Zope3', |
---|
70 | 'Topic :: Education', |
---|
71 | 'Topic :: Internet :: WWW/HTTP', |
---|
72 | ], |
---|
73 | author = "The WAeUP team.", |
---|
74 | author_email = "", |
---|
75 | url = "http://www.waeup.org/", |
---|
76 | license = "GPL", |
---|
77 | package_dir = {'': 'src'}, |
---|
78 | packages= find_packages('src'), |
---|
79 | namespace_packages = ['waeup',], |
---|
80 | include_package_data = True, |
---|
81 | zip_safe = False, |
---|
82 | install_requires = install_requires, |
---|
83 | tests_require = tests_require, |
---|
84 | extras_require = dict( |
---|
85 | test = tests_require, |
---|
86 | docs = docs_require, |
---|
87 | beaker = beaker_require, |
---|
88 | ), |
---|
89 | entry_points=""" |
---|
90 | # Add entry points here |
---|
91 | [hurry.resource.libraries] |
---|
92 | waeup_custom = waeup.aaua.browser.resources:waeup_custom |
---|
93 | [console_scripts] |
---|
94 | kofa-debug = grokcore.startup:interactive_debug_prompt |
---|
95 | kofactl = grokcore.startup:zdaemon_controller |
---|
96 | [paste.app_factory] |
---|
97 | main = waeup.kofa.startup:env_app_factory |
---|
98 | debug = waeup.kofa.startup:env_debug_app_factory |
---|
99 | """, |
---|
100 | ) |
---|