forked from VirdocsSoftware/pylti1.3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
73 lines (63 loc) · 2.2 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
from __future__ import print_function
import sys
from setuptools import find_packages, setup
from pylti1p3 import __version__
if sys.version_info < (2, 7):
error = "ERROR: PyLTI1p3 requires Python 2.7+ ... exiting."
print(error, file=sys.stderr)
sys.exit(1)
install_requires = [
'pyjwt>=1.5',
'jwcrypto',
'requests'
]
if sys.version_info < (3, 5):
extra_pkgs = ['typing']
else:
extra_pkgs = []
with open("README.rst", "rt") as readme:
long_description = readme.read().strip()
packages = find_packages(exclude=["examples", "tests"])
setup(
name='PyLTI1p3',
version=__version__,
description='LTI 1.3 Advantage Tool implementation in Python',
keywords="pylti,pylti1p3,lti,lti1.3,lti1p3,django,flask",
author='Dmitry Viskov',
author_email='[email protected]',
maintainer="Dmitry Viskov",
long_description=long_description,
install_requires=install_requires + extra_pkgs,
license='MIT',
url='https://github.com/dmitry-viskov/pylti1.3',
packages=packages,
zip_safe=False,
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
'Environment :: Web Environment',
"Framework :: Django",
"Framework :: Flask",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
'Operating System :: OS Independent',
'Programming Language :: Python',
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Application Frameworks",
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
package_data={
'pylti1p3': ['py.typed'],
'pylti1p3.tool_config': ['py.typed'],
'pylti1p3.contrib': ['py.typed'],
},
)