source: main/waeup.kofa/trunk/setup.py @ 17727

Last change on this file since 17727 was 17650, checked in by Henrik Bettermann, 12 months ago

Implement a QR Code view.

  • Property svn:keywords set to Id
File size: 4.0 KB
RevLine 
[4945]1import os
[3518]2from setuptools import setup, find_packages
3
[17274]4# Please also change version numbers in Dockerfile
[17299]5version = '1.8.2.dev0'
[3518]6
[5057]7install_requires =[
8    'setuptools',
[7470]9    #'gp.fileupload',
[5057]10    'grok',
[5495]11    'grokcore.startup',
[5057]12    'grokui.admin',
13    'hurry.query',
[5836]14    'hurry.jquery',
15    'hurry.jqueryui',
[6349]16    'hurry.workflow >= 0.11',
[5057]17    # Add extra requirements here
[5854]18    'docutils', # For RST-processing...
[5057]19    'zope.xmlpickle',
[5632]20    'hurry.file',
[5057]21    'hurry.zoperesource',
22    'zc.sourcefactory',
23    'megrok.layout',
[6194]24    'reportlab',
[10108]25    'Pillow',
[11798]26    'psutil',
[10027]27    'unicodecsv',
[5057]28    'zope.app.authentication', # BBB: During switch to grok 1.1
[5632]29    'zope.app.file',
[5067]30    'zope.app.testing',        # XXX: test_permissions needs this
[7666]31    'zope.app.undo',
[5632]32    'zope.file',
[6287]33    'zope.interface >= 3.6.0',
[5067]34    'zope.testbrowser',        # XXX: test_permissions needs this
[5328]35    'zope.i18n',
[5632]36    'zope.mimetype',
[6200]37    'zope.errorview',
[6287]38    'zope.schema >= 3.8.0',
[7470]39    'zope.sendmail',
[8492]40    'ulif.loghandlers',
[9217]41    'zc.async[z3]',
[11254]42    'z3c.evalexception',
[16157]43    'PyPDF2',
[17650]44    'segno',
[5057]45    ],
46
[11254]47diazo_require = [
48    'diazo',
49    'webob',
50    ]
51
[7570]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
[5057]61tests_require = [
62    'z3c.testsetup',
63    'zope.app.testing',
64    'zope.testbrowser',
65    'zope.testing',
[5836]66    'unittest2',
[5057]67    ]
68
[5632]69docs_require = [
70    'Sphinx',
71    'collective.recipe.sphinxbuilder',
72    'docutils',
73    'roman',
[5661]74    'repoze.sphinx.autointerface',
[5632]75    ]
76
[4945]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
[7808]89setup(name = 'waeup.kofa',
[5057]90      version = version,
91      description = "A student online information and  registration portal",
92      long_description = long_description,
[4945]93
[7808]94      keywords = "portal waeup kofa student university registration grok zope",
[4945]95      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
[5057]96      classifiers = [
[9999]97        'Development Status :: 4 - Beta',
[4945]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',
[13284]104        'Programming Language :: Python :: 2',
105        'Programming Language :: Python :: 2.7',
106        'Programming Language :: Python :: 2 :: Only',
107        'Programming Language :: Python :: Implementation :: CPython',
[4945]108        'Framework :: Zope3',
109        'Topic :: Education',
110        'Topic :: Internet :: WWW/HTTP',
111        ],
[5057]112      author = "The WAeUP team.",
[15261]113      author_email = "de@waeup.org",
[5057]114      url = "http://www.waeup.org/",
115      license = "GPL",
116      package_dir = {'': 'src'},
117      packages= find_packages('src'),
[4919]118      namespace_packages = ['waeup',],
[5057]119      include_package_data = True,
120      zip_safe = False,
121      install_requires = install_requires,
122      tests_require = tests_require,
123      extras_require = dict(
124        test = tests_require,
[5632]125        docs = docs_require,
[7570]126        beaker = beaker_require,
[11254]127        diazo = diazo_require,
[4789]128        ),
[3518]129      entry_points="""
130      # Add entry points here
[11254]131      #[hurry.resource.libraries]
132      #waeup_kofa = waeup.kofa.browser.resources:waeup_kofa
[5495]133      [console_scripts]
[7808]134      kofa-debug = grokcore.startup:interactive_debug_prompt
[17327]135      kofactl = waeup.kofa.startup:zdaemon_controller
[8418]136      analyze = waeup.kofa.maintenance:db_analyze
[10183]137      fsdiff = waeup.kofa.maintenance:db_diff
[5495]138      [paste.app_factory]
[9217]139      main = waeup.kofa.startup:env_app_factory
140      debug = waeup.kofa.startup:env_debug_app_factory
[5495]141
[3518]142      """,
143      )
Note: See TracBrowser for help on using the repository browser.