source: main/waeup.ikoba/branches/uli-payments/setup.py @ 12225

Last change on this file since 12225 was 12060, checked in by uli, 10 years ago

Merge changes from uli-payments back into trunk.

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