source: main/waeup.sirp/branches/ulif-images/setup.py @ 8794

Last change on this file since 8794 was 5531, checked in by uli, 14 years ago

Require image-related packages.

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
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('src', 'waeup', 'sirp', 'README.txt')
43    + '\n\n'
44    + read('CHANGES.txt')
45    + '\n\n'
46    + 'Download\n'
47    + '********\n'
48    )
49
50setup(name = 'waeup.sirp',
51      version = version,
52      description = "A student online information and  registration portal",
53      long_description = long_description,
54
55      keywords = "portal waeup sirp student university registration grok zope",
56      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
57      classifiers = [
58        'Development Status :: 3 - Alpha',
59        'Environment :: Web Environment',
60        'Intended Audience :: Education',
61        'License :: OSI Approved :: GNU General Public License (GPL)',
62        'Programming Language :: Python',
63        'Operating System :: POSIX',
64        'Operating System :: POSIX :: Linux',
65        'Framework :: Zope3',
66        'Topic :: Education',
67        'Topic :: Internet :: WWW/HTTP',
68        ],
69      author = "The WAeUP team.",
70      author_email = "",
71      url = "http://www.waeup.org/",
72      license = "GPL",
73      package_dir = {'': 'src'},
74      packages= find_packages('src'),
75      namespace_packages = ['waeup',],
76      include_package_data = True,
77      zip_safe = False,
78      install_requires = install_requires,
79      tests_require = tests_require,
80      extras_require = dict(
81        test = tests_require,
82        docs = ['Sphinx',
83                'z3c.recipe.sphinxdoc',
84                ],
85        ),
86      entry_points="""
87      # Add entry points here
88      [console_scripts]
89      sirp-debug = grokcore.startup:interactive_debug_prompt
90      sirpctl = grokcore.startup:zdaemon_controller
91      [paste.app_factory]
92      main = grokcore.startup:application_factory
93      debug = grokcore.startup:debug_application_factory
94
95      """,
96      )
Note: See TracBrowser for help on using the repository browser.