source: main/kofacustom.pcn/trunk/setup.py @ 17951

Last change on this file since 17951 was 11832, checked in by Henrik Bettermann, 10 years ago

Replace 'sampleuni' by 'pcn'.

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