forked from Princeton-CDH/django-annotator-store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (56 loc) · 1.96 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
import os
import sys
from setuptools import find_packages, setup
from annotator_store import __version__
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
TEST_REQUIREMENTS = ['pytest', 'pytest-django', 'pytest-cov']
if sys.version_info < (3, 0):
TEST_REQUIREMENTS.append('mock')
setup(
name='annotator_store',
version=__version__,
packages=find_packages(),
include_package_data=True,
license='Apache License, Version 2.0',
description='Django application to act as an annotator.js 2.x annotator-store backend',
long_description=README,
url='https://github.com/Princeton-CDH/django-annotator-store',
install_requires=[
'django>1.8',
'pytz',
'jsonfield',
'eulcommon',
'six',
],
setup_requires=['pytest-runner'],
tests_require=TEST_REQUIREMENTS,
extras_require={
'test': TEST_REQUIREMENTS,
'docs': ['sphinx'],
'permissions': ['django-guardian',]
},
author='CDH @ Princeton',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
# NOTE: test/support other 3.x python versions?
'Programming Language :: Python :: 3.5',
'Development Status :: 3 - Alpha'
],
)