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

Last change on this file since 5640 was 5632, checked in by uli, 14 years ago
  • Add more dependencies.
  • List doc requirements in own list.
File size: 2.7 KB
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '0.2dev'
5
6install_requires =[
7    'setuptools',
8    'grok',
9    'grokcore.startup',
10    'grokui.admin',
11    'hurry.query',
12    'hurry.workflow',
13    # Add extra requirements here
14    'zope.xmlpickle',
15    'hurry.file',
16    'hurry.yui',
17    'hurry.zoperesource',
18    'zc.sourcefactory',
19    'megrok.layout',
20    'zope.app.authentication', # BBB: During switch to grok 1.1
21    'zope.app.file',
22    'zope.app.testing',        # XXX: test_permissions needs this
23    'zope.file',
24    'zope.testbrowser',        # XXX: test_permissions needs this
25    'zope.i18n',
26    'zope.mimetype',
27    ],
28
29tests_require = [
30    'z3c.testsetup',
31    'zope.app.testing',
32    'zope.testbrowser',
33    'zope.testing',
34    ]
35
36docs_require = [
37    'Sphinx',
38    'collective.recipe.sphinxbuilder',
39    'docutils',
40    'roman',
41    ]
42
43def read(*rnames):
44    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
45
46long_description = (
47    read('README.txt')
48    + '\n\n'
49    + read('src', 'waeup', 'sirp', 'README.txt')
50    + '\n\n'
51    + read('CHANGES.txt')
52    + '\n\n'
53    + 'Download\n'
54    + '********\n'
55    )
56
57setup(name = 'waeup.sirp',
58      version = version,
59      description = "A student online information and  registration portal",
60      long_description = long_description,
61
62      keywords = "portal waeup sirp student university registration grok zope",
63      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
64      classifiers = [
65        'Development Status :: 3 - Alpha',
66        'Environment :: Web Environment',
67        'Intended Audience :: Education',
68        'License :: OSI Approved :: GNU General Public License (GPL)',
69        'Programming Language :: Python',
70        'Operating System :: POSIX',
71        'Operating System :: POSIX :: Linux',
72        'Framework :: Zope3',
73        'Topic :: Education',
74        'Topic :: Internet :: WWW/HTTP',
75        ],
76      author = "The WAeUP team.",
77      author_email = "",
78      url = "http://www.waeup.org/",
79      license = "GPL",
80      package_dir = {'': 'src'},
81      packages= find_packages('src'),
82      namespace_packages = ['waeup',],
83      include_package_data = True,
84      zip_safe = False,
85      install_requires = install_requires,
86      tests_require = tests_require,
87      extras_require = dict(
88        test = tests_require,
89        docs = docs_require,
90        ),
91      entry_points="""
92      # Add entry points here
93      [console_scripts]
94      sirp-debug = grokcore.startup:interactive_debug_prompt
95      sirpctl = grokcore.startup:zdaemon_controller
96      [paste.app_factory]
97      main = grokcore.startup:application_factory
98      debug = grokcore.startup:debug_application_factory
99
100      """,
101      )
Note: See TracBrowser for help on using the repository browser.