source: main/waeup.kofa/branches/uli-diazo-themed/setup.py @ 10912

Last change on this file since 10912 was 10903, checked in by uli, 11 years ago

Add Diazo requirements as extra.

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