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

Last change on this file since 5846 was 5836, checked in by uli, 14 years ago
  • Add hurry.jquery and hurry.jqueryui as dependencies
  • Define entry points to point to our locally defined resource library.

See http://pypi.python.org/pypi/hurry.resource/0.10 for details.

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