-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (52 loc) · 1.79 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
import os
from setuptools import find_packages, setup
from djiffy 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>=5.1', 'pytest-django', 'pytest-cov',
'psycopg2-binary'],
# pytest v3.6 required for pytest-django but doesn't happen on travis-ci
setup(
name='djiffy',
version=__version__,
packages=find_packages(),
include_package_data=True,
license='Apache License, Version 2.0',
description='Django app for IIIF Presentation book content',
long_description=README,
url='https://github.com/Princeton-CDH/djiffy',
install_requires=[
'django>=3.0',
'requests',
'piffle',
'attrdict',
'jsonfield<3.0,>=2.1',
'django-autocomplete-light>=3.5.1',
'rdflib>6.0.1',
],
setup_requires=['pytest-runner'],
tests_require=test_requirements,
extras_require={
'test': test_requirements,
'docs': ['sphinx']
},
author='CDH @ Princeton',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)