source: main/waeup.sirp/trunk/setup.py @ 7705

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

setup.py: Add zope.app.undo.

fix_import_file.py: rename core_or_elective

Some minor changes in rst files.

File size: 3.5 KB
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '0.2dev'
5
6install_requires =[
7    'setuptools',
8    #'gp.fileupload',
9    'grok',
10    'grokcore.startup',
11    'grokui.admin',
12    'hurry.query',
13    'hurry.jquery',
14    'hurry.jqueryui',
15    'hurry.workflow >= 0.11',
16    # Add extra requirements here
17    'docutils', # For RST-processing...
18    'zope.xmlpickle',
19    'hurry.file',
20    #'hurry.yui',
21    'hurry.zoperesource',
22    'zc.sourcefactory',
23    'megrok.layout',
24    'reportlab',
25    'PIL',
26    'zope.app.authentication', # BBB: During switch to grok 1.1
27    'zope.app.file',
28    'zope.app.testing',        # XXX: test_permissions needs this
29    'zope.app.undo',
30    'zope.file',
31    'zope.interface >= 3.6.0',
32    'zope.testbrowser',        # XXX: test_permissions needs this
33    'zope.i18n',
34    'zope.mimetype',
35    'zope.errorview',
36    'zope.schema >= 3.8.0',
37    'zope.sendmail',
38    ],
39
40# Having beaker installed additionally is a feature very recommended
41# for production use. The default buildout includes beaker for tests,
42# start scripts, and other parts that can benefit from it. The windows
43# buildout does not include it due to compiling problems with the
44# beaker package.
45beaker_require = [
46    'dolmen.beaker',
47    ]
48
49tests_require = [
50    'z3c.testsetup',
51    'zope.app.testing',
52    'zope.testbrowser',
53    'zope.testing',
54    'unittest2',
55    ]
56
57docs_require = [
58    'Sphinx',
59    'collective.recipe.sphinxbuilder',
60    'docutils',
61    'roman',
62    'repoze.sphinx.autointerface',
63    ]
64
65def read(*rnames):
66    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
67
68long_description = (
69    read('README.txt')
70    + '\n\n'
71    + read('src', 'waeup', 'sirp', 'app.txt')
72    + '\n\n'
73    + read('CHANGES.txt')
74    + '\n\n'
75    + 'Download\n'
76    + '********\n'
77    )
78
79setup(name = 'waeup.sirp',
80      version = version,
81      description = "A student online information and  registration portal",
82      long_description = long_description,
83
84      keywords = "portal waeup sirp student university registration grok zope",
85      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
86      classifiers = [
87        'Development Status :: 3 - Alpha',
88        'Environment :: Web Environment',
89        'Intended Audience :: Education',
90        'License :: OSI Approved :: GNU General Public License (GPL)',
91        'Programming Language :: Python',
92        'Operating System :: POSIX',
93        'Operating System :: POSIX :: Linux',
94        'Framework :: Zope3',
95        'Topic :: Education',
96        'Topic :: Internet :: WWW/HTTP',
97        ],
98      author = "The WAeUP team.",
99      author_email = "",
100      url = "http://www.waeup.org/",
101      license = "GPL",
102      package_dir = {'': 'src'},
103      packages= find_packages('src'),
104      namespace_packages = ['waeup',],
105      include_package_data = True,
106      zip_safe = False,
107      install_requires = install_requires,
108      tests_require = tests_require,
109      extras_require = dict(
110        test = tests_require,
111        docs = docs_require,
112        beaker = beaker_require,
113        ),
114      entry_points="""
115      # Add entry points here
116      [hurry.resource.libraries]
117      waeup_sirp = waeup.sirp.browser.resources:waeup_sirp
118      [console_scripts]
119      sirp-debug = grokcore.startup:interactive_debug_prompt
120      sirpctl = grokcore.startup:zdaemon_controller
121      [paste.app_factory]
122      main = grokcore.startup:application_factory
123      debug = grokcore.startup:debug_application_factory
124
125      """,
126      )
Note: See TracBrowser for help on using the repository browser.