source: main/waeup.sirp/branches/ulif-groktoolkit-1.4/setup.py @ 7720

Last change on this file since 7720 was 7713, checked in by uli, 13 years ago

Some modifications that make it possible at least to create a new university with Grok toolkit 1.4 (grok 1.6)

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