source: main/kofacustom.ekodisco/branches/0.1/setup.py @ 17102

Last change on this file since 17102 was 11336, checked in by uli, 11 years ago

Back to work: 0.1.2dev.

  • Property svn:keywords set to Id
File size: 2.8 KB
RevLine 
[10770]1import os
2from setuptools import setup, find_packages
3
[11336]4version = '0.1.2dev'
[10770]5
6install_requires = [
7    'setuptools',
8    'grok',
9    'grokui.admin',
10    'grokcore.startup',
[11186]11    'waeup.kofa < 1.0',
12    'kofacustom.nigeria < 1.0',
[10770]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.
20beaker_require = [
21    'dolmen.beaker',
22    ]
23
24tests_require = [
25    'z3c.testsetup',
26    'zope.app.testing',
27    'zope.testbrowser',
28    'zope.testing',
29    'unittest2',
30    ]
31
32docs_require = [
33    'Sphinx',
34    'collective.recipe.sphinxbuilder',
35    'docutils',
36    'roman',
37    'repoze.sphinx.autointerface',
38    ]
39
40def read(*rnames):
41    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
42
43long_description = (
44    read('README.txt')
45    + '\n\n'
46    + read('src', 'kofacustom', 'ekodisco', 'README.txt')
47    + '\n\n'
48    + read('CHANGES.txt')
49    + '\n\n'
50    + 'Download\n'
51    + '********\n'
52    )
53
54setup(name = 'kofacustom.ekodisco',
55      version = version,
56      description = "A customized waeup.kofa",
57      long_description = long_description,
58
59      keywords = "portal waeup kofa student university registration grok zope",
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        ),
89      entry_points="""
90      # Add entry points here
91      [hurry.resource.libraries]
92      waeup_custom = kofacustom.ekodisco.browser.resources:waeup_custom
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      )
Note: See TracBrowser for help on using the repository browser.