/
setup.py
executable file
·45 lines (39 loc) · 1.37 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
#!/usr/bin/env python
'''
This file is part of python-webuntis
:copyright: (c) 2012 by Markus Unterwaditzer.
:license: BSD, see LICENSE for more details.
'''
from setuptools import setup
from sys import version_info
dependencies = ['requests']
if version_info < (2,6):
dependencies.append('simplejson')
if version_info < (2,7):
dependencies.append('ordereddict')
setup(
name='webuntis',
version='0.1.9',
author='Markus Unterwaditzer',
author_email='markus@unterwaditzer.net',
packages=['webuntis', 'webuntis.utils', 'webuntis.tests'],
include_package_data=True,
url='http://dev.unterwaditzer.net/python-webuntis/',
license='new-style BSD',
description='Bindings for WebUntis API',
long_description=open('README.rst').read(),
install_requires=dependencies,
classifiers=[
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: PyPy'
],
test_suite='webuntis.tests'
)