source: main/kofacustom.nigeria/branches/0.1/setup.py @ 16171

Last change on this file since 16171 was 11349, checked in by uli, 11 years ago

Fix upcoming version number.

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