This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
forked from ucfopen/canvasapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (40 loc) · 1.43 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
from __future__ import absolute_import, division, print_function, unicode_literals
import re
from setuptools import setup
# get version number
with open('canvasapi/__init__.py', 'r') as fd:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(),
re.MULTILINE
).group(1)
if not version:
raise RuntimeError('Cannot find version information')
setup(
name='canvasapi',
version=version,
description='API wrapper for the Canvas LMS',
url='https://github.com/ucfopen/canvasapi',
author='University of Central Florida - Center for Distributed Learning',
author_email='techrangers@ucf.edu',
license='MIT License',
packages=['canvasapi'],
include_package_data=True,
install_requires=['pytz', 'requests', 'six'],
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries',
],
)