forked from dativebase/old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
99 lines (83 loc) · 3.55 KB
/
setup.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='onlinelinguisticdatabase',
version='1.0a1',
description='''A program for building web services that facilitate collaborative
storing, searching, processing and analyzing of linguistic fieldwork data.''',
long_description='''\
================================================================================
The Online Linguistic Database (OLD)
================================================================================
A program for building web services that facilitate collaborative storing,
searching, processing and analyzing of linguistic fieldwork data.
Installation and Setup
================================================================================
Install onlinelinguisticdatabase using ``easy_install``::
easy_install onlinelinguisticdatabase
Make a config file::
paster make-config onlinelinguisticdatabase production.ini
Tweak the config file as appropriate and then set up the application::
paster setup-app production.ini
Serve it::
paster serve production.ini
Open a new terminal window and run the Requests-based test script to ensure that
the OLD application is being served and is operating correctly::
python _requests_tests.py
You should see ``All requests tests passed.`` as output.
Files
================================================================================
''',
author='Joel Dunham',
author_email='jrwdunham@gmail.com',
url='http://www.onlinelinguisticdatabase.org',
license='Apache v. 2.0',
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Pylons",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python",
"Topic :: Database :: Front-Ends",
"Topic :: Education"
],
install_requires=[
"WebTest<2.0", # WebTest 2.0.1 requires WebOb>=1.2 and OLD needs WebOb <=1.1.1 -- conflict
"Pylons==1.0",
"FormEncode==1.2.4", # vs. >= 1.2.5 include changes that break the OLD
"SQLAlchemy>=0.5,<=0.7.9",
"WebOb<=1.1.1", # The OLD works with v. <= 1.1.1; Pylons 1.0 works with 1.1.1; DeprecationWarning logged :(
"Markdown",
"PassLib",
"docutils>=0.10",
"python-magic", # interface to libmagic for guessing file type based on contents
"requests" # http requests in Python made easy; good for testing a live system
],
setup_requires=["PasteScript>=1.6.3"],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite='nose.collector',
package_data={'onlinelinguisticdatabase': ['i18n/*/LC_MESSAGES/*.mo']},
#message_extractors={'onlinelinguisticdatabase': [
# ('**.py', 'python', None),
# ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
# ('public/**', 'ignore', None)]},
zip_safe=False,
paster_plugins=['PasteScript', 'Pylons'],
entry_points="""
[paste.app_factory]
main = onlinelinguisticdatabase.config.middleware:make_app
[paste.app_install]
main = pylons.util:PylonsInstaller
""",
extras_require = {
'MySQL': ["mysql-python>-1.2"]
} #'PIL': ["PIL"] # Python Imagine Library (note: easy_install PIL fails for me ...)
)