forked from rufuspollock-okfn/openmilton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmiltonsetup.py
60 lines (54 loc) · 1.85 KB
/
miltonsetup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import sys
sys.path.insert(0, '.')
from milton import __version__, __application_name__
from milton import __doc__ as __long_description__
setup(
name = __application_name__,
version = __version__,
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
install_requires=[
'Pylons>=0.9.6.1',
'SQLObject>=0.6',
'Genshi>=0.3',
'annotater>=0.1',
],
test_suite='nose.collector',
package_data={'milton': ['i18n/*/LC_MESSAGES/*.mo']},
#message_extractors = {'shakespeare': [
# ('**.py', 'python', None),
# ('public/**', 'ignore', None)]},
entry_points='''
[paste.app_factory]
main = milton.config.middleware:make_app
[paste.app_install]
main = pylons.util:PylonsInstaller
[console_scripts]
milton-admin=milton.cli:main
''',
# metadata for upload to PyPI
author = "Open Knowledge Foundation",
author_email = '[email protected]',
description = \
"A full open set of Milton's works along with ancillary material, a variety of tools and a python api",
long_description = __long_description__,
license = "MIT",
keywords = "open shakespeare search view",
url = "http://www.openshakespeare.org/",
download_url = "http://www.openshakespeare.org/code/",
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'],
)