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

Last change on this file since 7339 was 6885, checked in by uli, 13 years ago

Some changes to reflect new package.

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