1 | import os |
---|
2 | from setuptools import setup, find_packages |
---|
3 | |
---|
4 | version = '1.3.dev0' |
---|
5 | |
---|
6 | install_requires =[ |
---|
7 | 'setuptools', |
---|
8 | 'grok', |
---|
9 | 'waeup.kofa >= 1.3.2', |
---|
10 | ], |
---|
11 | |
---|
12 | # Having beaker installed additionally is a feature very recommended |
---|
13 | # for production use. The default buildout includes beaker for tests, |
---|
14 | # start scripts, and other parts that can benefit from it. The windows |
---|
15 | # buildout does not include it due to compiling problems with the |
---|
16 | # beaker package. |
---|
17 | beaker_require = [ |
---|
18 | 'dolmen.beaker', |
---|
19 | ] |
---|
20 | |
---|
21 | tests_require = [ |
---|
22 | 'z3c.testsetup', |
---|
23 | 'zope.app.testing', |
---|
24 | 'zope.testbrowser', |
---|
25 | 'zope.testing', |
---|
26 | 'unittest2', |
---|
27 | ] |
---|
28 | |
---|
29 | docs_require = [ |
---|
30 | 'Sphinx', |
---|
31 | 'collective.recipe.sphinxbuilder', |
---|
32 | 'docutils', |
---|
33 | 'roman', |
---|
34 | 'repoze.sphinx.autointerface', |
---|
35 | ] |
---|
36 | |
---|
37 | diazo_require = [ |
---|
38 | 'diazo', |
---|
39 | 'webob', |
---|
40 | ] |
---|
41 | |
---|
42 | def read(*rnames): |
---|
43 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
44 | |
---|
45 | long_description = ( |
---|
46 | read('README.txt') |
---|
47 | + '\n\n' |
---|
48 | + read('CHANGES.txt') |
---|
49 | + '\n\n' |
---|
50 | + 'Download\n' |
---|
51 | + '********\n' |
---|
52 | ) |
---|
53 | |
---|
54 | setup(name = 'kofacustom.nigeria', |
---|
55 | version = version, |
---|
56 | description = "Nigerian customizations of the waeup.kofa package", |
---|
57 | long_description = long_description, |
---|
58 | |
---|
59 | keywords = "portal waeup kofa student university registration nigeria", |
---|
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 = ['kofacustom',], |
---|
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 | diazo = diazo_require, |
---|
89 | ), |
---|
90 | entry_points=""" |
---|
91 | # Add entry points here |
---|
92 | [console_scripts] |
---|
93 | kofa-debug = grokcore.startup:interactive_debug_prompt |
---|
94 | kofactl = grokcore.startup:zdaemon_controller |
---|
95 | [paste.app_factory] |
---|
96 | main = waeup.kofa.startup:env_app_factory |
---|
97 | debug = waeup.kofa.startup:env_debug_app_factory |
---|
98 | |
---|
99 | """, |
---|
100 | ) |
---|