1 | import os |
---|
2 | from setuptools import setup, find_packages |
---|
3 | |
---|
4 | version = '1.0dev' |
---|
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 | diazo_require = [ |
---|
25 | 'diazo', |
---|
26 | 'webob', |
---|
27 | ] |
---|
28 | |
---|
29 | tests_require = [ |
---|
30 | 'z3c.testsetup', |
---|
31 | 'zope.app.testing', |
---|
32 | 'zope.testbrowser', |
---|
33 | 'zope.testing', |
---|
34 | 'unittest2', |
---|
35 | ] |
---|
36 | |
---|
37 | docs_require = [ |
---|
38 | 'Sphinx', |
---|
39 | 'collective.recipe.sphinxbuilder', |
---|
40 | 'docutils', |
---|
41 | 'roman', |
---|
42 | 'repoze.sphinx.autointerface', |
---|
43 | ] |
---|
44 | |
---|
45 | def read(*rnames): |
---|
46 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
47 | |
---|
48 | long_description = ( |
---|
49 | read('README.txt') |
---|
50 | + '\n\n' |
---|
51 | + read('src', 'kofacustom', 'ekodisco', 'README.txt') |
---|
52 | + '\n\n' |
---|
53 | + read('CHANGES.txt') |
---|
54 | + '\n\n' |
---|
55 | + 'Download\n' |
---|
56 | + '********\n' |
---|
57 | ) |
---|
58 | |
---|
59 | setup(name = 'kofacustom.ekodisco', |
---|
60 | version = version, |
---|
61 | description = "A customized waeup.kofa", |
---|
62 | long_description = long_description, |
---|
63 | |
---|
64 | keywords = "portal waeup kofa student university registration grok zope", |
---|
65 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
66 | classifiers = [ |
---|
67 | 'Development Status :: 3 - Alpha', |
---|
68 | 'Environment :: Web Environment', |
---|
69 | 'Intended Audience :: Education', |
---|
70 | 'License :: OSI Approved :: GNU General Public License (GPL)', |
---|
71 | 'Programming Language :: Python', |
---|
72 | 'Operating System :: POSIX', |
---|
73 | 'Operating System :: POSIX :: Linux', |
---|
74 | 'Framework :: Zope3', |
---|
75 | 'Topic :: Education', |
---|
76 | 'Topic :: Internet :: WWW/HTTP', |
---|
77 | ], |
---|
78 | author = "The WAeUP team.", |
---|
79 | author_email = "", |
---|
80 | url = "http://www.waeup.org/", |
---|
81 | license = "GPL", |
---|
82 | package_dir = {'': 'src'}, |
---|
83 | packages= find_packages('src'), |
---|
84 | namespace_packages = ['kofacustom',], |
---|
85 | include_package_data = True, |
---|
86 | zip_safe = False, |
---|
87 | install_requires = install_requires, |
---|
88 | tests_require = tests_require, |
---|
89 | extras_require = dict( |
---|
90 | test = tests_require, |
---|
91 | docs = docs_require, |
---|
92 | beaker = beaker_require, |
---|
93 | diazo = diazo_require, |
---|
94 | ), |
---|
95 | entry_points=""" |
---|
96 | # Add entry points here |
---|
97 | [console_scripts] |
---|
98 | kofa-debug = grokcore.startup:interactive_debug_prompt |
---|
99 | kofactl = grokcore.startup:zdaemon_controller |
---|
100 | [paste.app_factory] |
---|
101 | main = waeup.kofa.startup:env_app_factory |
---|
102 | debug = waeup.kofa.startup:env_debug_app_factory |
---|
103 | """, |
---|
104 | ) |
---|