forked from Princeton-CDH/viapy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (49 loc) · 1.87 KB
/
setup.py
File metadata and controls
54 lines (49 loc) · 1.87 KB
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
import os
import sys
from setuptools import find_packages, setup
from viapy 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)))
REQUIREMENTS = ['requests', 'rdflib', 'cached_property', 'attrdict']
TEST_REQUIREMENTS = ['pytest', 'pytest-cov']
DJANGO_REQS = ['django>=1.11', 'django-autocomplete-light']
DJANGO_TEST_REQS = ['pytest-django']
setup(
name='viapy',
version=__version__,
packages=find_packages(),
include_package_data=True,
license='Apache License, Version 2.0',
description='Python module for interacting with VIAF data & APIs',
long_description=README,
url='https://github.com/Princeton-CDH/viapy',
install_requires=REQUIREMENTS,
setup_requires=['pytest-runner'],
tests_require=TEST_REQUIREMENTS,
extras_require={
'django': DJANGO_REQS,
'test': TEST_REQUIREMENTS,
'test_all': TEST_REQUIREMENTS + DJANGO_REQS + DJANGO_TEST_REQS,
'docs': ['sphinx']
},
author='CDH @ Princeton',
author_email='digitalhumanities@princeton.edu',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
# maybe we'll add 2.7 support if it's easy
# 'Programming Language :: Python :: 2',
# 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)