source: main/kofacustom.nigeria/trunk/setup.py @ 17895

Last change on this file since 17895 was 17352, checked in by Henrik Bettermann, 20 months ago

Update setup.py

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