source: main/waeup.custom/trunk/setup.py @ 7828

Last change on this file since 7828 was 7825, checked in by Henrik Bettermann, 13 years ago

Rename sirp-kofa part 3.

File size: 2.7 KB
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '0.1dev'
5
6install_requires =[
7    'setuptools',
8    'grok',
9    'grokui.admin',
10    'grokcore.startup',
11    'waeup.kofa',
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
39def read(*rnames):
40    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
41
42long_description = (
43    read('README.txt')
44    + '\n\n'
45    + read('src', 'waeup', 'custom', 'README.txt')
46    + '\n\n'
47    + read('CHANGES.txt')
48    + '\n\n'
49    + 'Download\n'
50    + '********\n'
51    )
52
53setup(name = 'waeup.custom',
54      version = version,
55      description = "A customized waeup.kofa",
56      long_description = long_description,
57
58      keywords = "portal waeup kofa student university registration grok zope",
59      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
60      classifiers = [
61        'Development Status :: 3 - Alpha',
62        'Environment :: Web Environment',
63        'Intended Audience :: Education',
64        'License :: OSI Approved :: GNU General Public License (GPL)',
65        'Programming Language :: Python',
66        'Operating System :: POSIX',
67        'Operating System :: POSIX :: Linux',
68        'Framework :: Zope3',
69        'Topic :: Education',
70        'Topic :: Internet :: WWW/HTTP',
71        ],
72      author = "The WAeUP team.",
73      author_email = "",
74      url = "http://www.waeup.org/",
75      license = "GPL",
76      package_dir = {'': 'src'},
77      packages= find_packages('src'),
78      namespace_packages = ['waeup',],
79      include_package_data = True,
80      zip_safe = False,
81      install_requires = install_requires,
82      tests_require = tests_require,
83      extras_require = dict(
84        test = tests_require,
85        docs = docs_require,
86        beaker = beaker_require,
87        ),
88      entry_points="""
89      # Add entry points here
90      [hurry.resource.libraries]
91      waeup_custom = waeup.custom.browser.resources:waeup_custom
92      [console_scripts]
93      kofa-debug = grokcore.startup:interactive_debug_prompt
94      kofactl = grokcore.startup:zdaemon_controller
95      [paste.app_factory]
96      main = grokcore.startup:application_factory
97      debug = grokcore.startup:debug_application_factory
98      """,
99      )
Note: See TracBrowser for help on using the repository browser.