source: main/waeup.sirp/trunk/setup.py @ 6814

Last change on this file since 6814 was 6360, checked in by Henrik Bettermann, 14 years ago

Now exports passport picture into pdf. libjpeg62-dev must be installed!

File size: 3.1 KB
RevLine 
[4945]1import os
[3518]2from setuptools import setup, find_packages
3
[4955]4version = '0.2dev'
[3518]5
[5057]6install_requires =[
7    'setuptools',
[6287]8    'gp.fileupload',
[5057]9    'grok',
[5495]10    'grokcore.startup',
[5057]11    'grokui.admin',
12    'hurry.query',
[5836]13    'hurry.jquery',
14    'hurry.jqueryui',
[6349]15    'hurry.workflow >= 0.11',
[5057]16    # Add extra requirements here
[5854]17    'docutils', # For RST-processing...
[5057]18    'zope.xmlpickle',
[5632]19    'hurry.file',
[6028]20    #'hurry.yui',
[5057]21    'hurry.zoperesource',
22    'zc.sourcefactory',
23    'megrok.layout',
[6194]24    'reportlab',
[6360]25    'PIL',
[5057]26    'zope.app.authentication', # BBB: During switch to grok 1.1
[5632]27    'zope.app.file',
[5067]28    'zope.app.testing',        # XXX: test_permissions needs this
[5632]29    'zope.file',
[6287]30    'zope.interface >= 3.6.0',
[5067]31    'zope.testbrowser',        # XXX: test_permissions needs this
[5328]32    'zope.i18n',
[5632]33    'zope.mimetype',
[6200]34    'zope.errorview',
[6287]35    'zope.schema >= 3.8.0',
[5057]36    ],
37
38tests_require = [
39    'z3c.testsetup',
40    'zope.app.testing',
41    'zope.testbrowser',
42    'zope.testing',
[5836]43    'unittest2',
[5057]44    ]
45
[5632]46docs_require = [
47    'Sphinx',
48    'collective.recipe.sphinxbuilder',
49    'docutils',
50    'roman',
[5661]51    'repoze.sphinx.autointerface',
[5632]52    ]
53
[4945]54def read(*rnames):
55    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
56
57long_description = (
58    read('README.txt')
59    + '\n\n'
60    + read('src', 'waeup', 'sirp', 'README.txt')
61    + '\n\n'
62    + read('CHANGES.txt')
63    + '\n\n'
64    + 'Download\n'
65    + '********\n'
66    )
67
[5057]68setup(name = 'waeup.sirp',
69      version = version,
70      description = "A student online information and  registration portal",
71      long_description = long_description,
[4945]72
[5057]73      keywords = "portal waeup sirp student university registration grok zope",
[4945]74      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
[5057]75      classifiers = [
[4945]76        'Development Status :: 3 - Alpha',
77        'Environment :: Web Environment',
78        'Intended Audience :: Education',
79        'License :: OSI Approved :: GNU General Public License (GPL)',
80        'Programming Language :: Python',
81        'Operating System :: POSIX',
82        'Operating System :: POSIX :: Linux',
83        'Framework :: Zope3',
84        'Topic :: Education',
85        'Topic :: Internet :: WWW/HTTP',
86        ],
[5057]87      author = "The WAeUP team.",
88      author_email = "",
89      url = "http://www.waeup.org/",
90      license = "GPL",
91      package_dir = {'': 'src'},
92      packages= find_packages('src'),
[4919]93      namespace_packages = ['waeup',],
[5057]94      include_package_data = True,
95      zip_safe = False,
96      install_requires = install_requires,
97      tests_require = tests_require,
98      extras_require = dict(
99        test = tests_require,
[5632]100        docs = docs_require,
[4789]101        ),
[3518]102      entry_points="""
103      # Add entry points here
[5836]104      [hurry.resource.libraries]
105      waeup_sirp = waeup.sirp.browser.resources:waeup_sirp
[5495]106      [console_scripts]
107      sirp-debug = grokcore.startup:interactive_debug_prompt
108      sirpctl = grokcore.startup:zdaemon_controller
109      [paste.app_factory]
110      main = grokcore.startup:application_factory
111      debug = grokcore.startup:debug_application_factory
112
[3518]113      """,
114      )
Note: See TracBrowser for help on using the repository browser.