source: main/waeup.custom/trunk/setup.py @ 7823

Last change on this file since 7823 was 7695, checked in by Henrik Bettermann, 13 years ago

Upgrade custom package and add internationalization.

I also added dolmen.beaker but I'm not sure if I did it right.

File size: 2.7 KB
RevLine 
[4945]1import os
[3518]2from setuptools import setup, find_packages
3
[6885]4version = '0.1dev'
[3518]5
[5057]6install_requires =[
7    'setuptools',
8    'grok',
[6885]9    'grokui.admin',
[5495]10    'grokcore.startup',
[6885]11    'waeup.sirp',
[5057]12    ],
13
[7695]14# Having beaker installed additionally is a feature very recommended
15# for production use. The default buildout includes beaker for tests,
16# start scripts, and other parts that can benefit from it. The windows
17# buildout does not include it due to compiling problems with the
18# beaker package.
19beaker_require = [
20    'dolmen.beaker',
21    ]
22
[5057]23tests_require = [
24    'z3c.testsetup',
25    'zope.app.testing',
26    'zope.testbrowser',
27    'zope.testing',
[5836]28    'unittest2',
[5057]29    ]
30
[5632]31docs_require = [
32    'Sphinx',
33    'collective.recipe.sphinxbuilder',
34    'docutils',
35    'roman',
[5661]36    'repoze.sphinx.autointerface',
[5632]37    ]
38
[4945]39def read(*rnames):
40    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
41
42long_description = (
43    read('README.txt')
44    + '\n\n'
[6885]45    + read('src', 'waeup', 'custom', 'README.txt')
[4945]46    + '\n\n'
47    + read('CHANGES.txt')
48    + '\n\n'
49    + 'Download\n'
50    + '********\n'
51    )
52
[6885]53setup(name = 'waeup.custom',
[5057]54      version = version,
[6885]55      description = "A customized waeup.sirp",
[5057]56      long_description = long_description,
[4945]57
[5057]58      keywords = "portal waeup sirp student university registration grok zope",
[4945]59      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
[5057]60      classifiers = [
[4945]61        'Development Status :: 3 - Alpha',
62        'Environment :: Web Environment',
63        'Intended Audience :: Education',
64        'License :: OSI Approved :: GNU General Public License (GPL)',
65        'Programming Language :: Python',
66        'Operating System :: POSIX',
67        'Operating System :: POSIX :: Linux',
68        'Framework :: Zope3',
69        'Topic :: Education',
70        'Topic :: Internet :: WWW/HTTP',
71        ],
[5057]72      author = "The WAeUP team.",
73      author_email = "",
74      url = "http://www.waeup.org/",
75      license = "GPL",
76      package_dir = {'': 'src'},
77      packages= find_packages('src'),
[4919]78      namespace_packages = ['waeup',],
[5057]79      include_package_data = True,
80      zip_safe = False,
81      install_requires = install_requires,
82      tests_require = tests_require,
83      extras_require = dict(
84        test = tests_require,
[5632]85        docs = docs_require,
[7695]86        beaker = beaker_require,
[4789]87        ),
[3518]88      entry_points="""
89      # Add entry points here
[5836]90      [hurry.resource.libraries]
[6885]91      waeup_custom = waeup.custom.browser.resources:waeup_custom
[5495]92      [console_scripts]
93      sirp-debug = grokcore.startup:interactive_debug_prompt
94      sirpctl = grokcore.startup:zdaemon_controller
95      [paste.app_factory]
96      main = grokcore.startup:application_factory
97      debug = grokcore.startup:debug_application_factory
[3518]98      """,
99      )
Note: See TracBrowser for help on using the repository browser.