source: main/waeup.sirp/branches/henrik-bootstrap/setup.py @ 11060

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

Replace README.txt by app.txt also in setup.py.

File size: 3.1 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.file',
30    'zope.interface >= 3.6.0',
31    'zope.testbrowser',        # XXX: test_permissions needs this
32    'zope.i18n',
33    'zope.mimetype',
34    'zope.errorview',
35    'zope.schema >= 3.8.0',
36    ],
37
38tests_require = [
39    'z3c.testsetup',
40    'zope.app.testing',
41    'zope.testbrowser',
42    'zope.testing',
43    'unittest2',
44    ]
45
46docs_require = [
47    'Sphinx',
48    'collective.recipe.sphinxbuilder',
49    'docutils',
50    'roman',
51    'repoze.sphinx.autointerface',
52    ]
53
54def read(*rnames):
55    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
56
57long_description = (
58    read('README.txt')
59    + '\n\n'
60    + read('src', 'waeup', 'sirp', 'app.txt')
61    + '\n\n'
62    + read('CHANGES.txt')
63    + '\n\n'
64    + 'Download\n'
65    + '********\n'
66    )
67
68setup(name = 'waeup.sirp',
69      version = version,
70      description = "A student online information and  registration portal",
71      long_description = long_description,
72
73      keywords = "portal waeup sirp student university registration grok zope",
74      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
75      classifiers = [
76        'Development Status :: 3 - Alpha',
77        'Environment :: Web Environment',
78        'Intended Audience :: Education',
79        'License :: OSI Approved :: GNU General Public License (GPL)',
80        'Programming Language :: Python',
81        'Operating System :: POSIX',
82        'Operating System :: POSIX :: Linux',
83        'Framework :: Zope3',
84        'Topic :: Education',
85        'Topic :: Internet :: WWW/HTTP',
86        ],
87      author = "The WAeUP team.",
88      author_email = "",
89      url = "http://www.waeup.org/",
90      license = "GPL",
91      package_dir = {'': 'src'},
92      packages= find_packages('src'),
93      namespace_packages = ['waeup',],
94      include_package_data = True,
95      zip_safe = False,
96      install_requires = install_requires,
97      tests_require = tests_require,
98      extras_require = dict(
99        test = tests_require,
100        docs = docs_require,
101        ),
102      entry_points="""
103      # Add entry points here
104      [hurry.resource.libraries]
105      waeup_sirp = waeup.sirp.browser.resources:waeup_sirp
106      [console_scripts]
107      sirp-debug = grokcore.startup:interactive_debug_prompt
108      sirpctl = grokcore.startup:zdaemon_controller
109      [paste.app_factory]
110      main = grokcore.startup:application_factory
111      debug = grokcore.startup:debug_application_factory
112
113      """,
114      )
Note: See TracBrowser for help on using the repository browser.