-
Notifications
You must be signed in to change notification settings - Fork 66
/
setup.py
48 lines (41 loc) · 1.36 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
from setuptools import setup, find_packages
import os
requires = [
'elasticsearch>=1.0,<2',
'PyJWT>=0.1.4',
'iso8601>=0.1.4',
'six',
]
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.14.2',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['Flask>=0.9,<2', 'mock', 'nose', 'coverage'],
'flask': ['Flask>=0.9,<2'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = '[email protected]',
description = 'Database backend for Annotator (http://annotatorjs.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://annotatorjs.org/',
download_url = 'https://github.com/openannotation/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)