source: main/kofacustom.nigeria/branches/uli-paypal/setup.py @ 17845

Last change on this file since 17845 was 17239, checked in by uli, 23 months ago

Sketches of paypal :)

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