source: main/waeup.ikoba/trunk/setup.py @ 14183

Last change on this file since 14183 was 13727, checked in by uli, 9 years ago

pep440: Fix version number.

See https://www.python.org/dev/peps/pep-0440/#developmental-releases

  • Property svn:keywords set to Id
File size: 3.7 KB
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '0.2.dev0'
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    'psutil',
27    'unicodecsv',
28    'zope.app.authentication', # BBB: During switch to grok 1.1
29    'zope.app.file',
30    'zope.app.testing',        # XXX: test_permissions needs this
31    'zope.app.undo',
32    'zope.file',
33    'zope.interface >= 3.6.0',
34    'zope.testbrowser',        # XXX: test_permissions needs this
35    'zope.i18n',
36    'zope.mimetype',
37    'zope.errorview',
38    'zope.schema >= 3.8.0',
39    'zope.sendmail',
40    'ulif.loghandlers',
41    'zc.async[z3]',
42    'z3c.evalexception',
43    'paypalrestsdk',
44    'PyPDF2',
45    ],
46
47diazo_require = [
48    'diazo',
49    'webob',
50    ]
51
52# Having beaker installed additionally is a feature very recommended
53# for production use. The default buildout includes beaker for tests,
54# start scripts, and other parts that can benefit from it. The windows
55# buildout does not include it due to compiling problems with the
56# beaker package.
57beaker_require = [
58    'dolmen.beaker',
59    ]
60
61tests_require = [
62    'z3c.testsetup',
63    'zope.app.testing',
64    'zope.testbrowser',
65    'zope.testing',
66    'unittest2',
67    ]
68
69docs_require = [
70    'Sphinx',
71    'collective.recipe.sphinxbuilder',
72    'docutils',
73    'roman',
74    'repoze.sphinx.autointerface',
75    ]
76
77def read(*rnames):
78    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
79
80long_description = (
81    read('README.txt')
82    + '\n\n'
83    + read('CHANGES.txt')
84    + '\n\n'
85    + 'Download\n'
86    + '********\n'
87    )
88
89setup(name = 'waeup.ikoba',
90      version = version,
91      description = "An online application and registration portal",
92      long_description = long_description,
93
94      keywords = "portal waeup ikoba company application registration grok zope",
95      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
96      classifiers = [
97        'Development Status :: 4 - Beta',
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        diazo = diazo_require,
124        ),
125      entry_points="""
126      # Add entry points here
127      #[hurry.resource.libraries]
128      #waeup_ikoba = waeup.ikoba.browser.resources:waeup_ikoba
129      [console_scripts]
130      ikoba-debug = grokcore.startup:interactive_debug_prompt
131      ikobactl = grokcore.startup:zdaemon_controller
132      analyze = waeup.ikoba.maintenance:db_analyze
133      fsdiff = waeup.ikoba.maintenance:db_diff
134      [paste.app_factory]
135      main = waeup.ikoba.startup:env_app_factory
136      debug = waeup.ikoba.startup:env_debug_app_factory
137
138      """,
139      )
Note: See TracBrowser for help on using the repository browser.