1
|
|
|
#!/usr/bin/env python |
2
|
|
|
# coding=utf-8 |
3
|
|
|
|
4
|
|
|
from setuptools import setup, find_packages |
5
|
|
|
|
6
|
|
|
with open('README.md', 'rb') as f: |
7
|
|
|
long_description = f.read().decode('utf-8').split("## User permissions")[0] |
8
|
|
|
|
9
|
|
|
setup( |
10
|
|
|
name="School-Api", |
11
|
|
|
author="dairoot", |
12
|
|
|
version="1.5.6", |
13
|
|
|
license='MIT', |
14
|
|
|
author_email="[email protected]", |
15
|
|
|
description="School SDK for Python", |
16
|
|
|
long_description=long_description, |
17
|
|
|
long_description_content_type='text/markdown', |
18
|
|
|
url='https://github.com/dairoot/school-api', |
19
|
|
|
packages=find_packages(), |
20
|
|
|
package_data={'school_api': ['check_code/theta.dat'], }, |
21
|
|
|
include_package_data=True, |
22
|
|
|
platforms='any', |
23
|
|
|
zip_safe=False, |
24
|
|
|
|
25
|
|
|
install_requires=[ |
26
|
|
|
'six', |
27
|
|
|
'requests', |
28
|
|
|
'redis', |
29
|
|
|
'bs4', |
30
|
|
|
'pillow', |
31
|
|
|
'numpy' |
32
|
|
|
], |
33
|
|
|
classifiers=[ |
34
|
|
|
'Environment :: Web Environment', |
35
|
|
|
'Intended Audience :: Developers', |
36
|
|
|
'License :: OSI Approved :: MIT License', |
37
|
|
|
'Operating System :: OS Independent', |
38
|
|
|
'Programming Language :: Python :: 2.7', |
39
|
|
|
'Programming Language :: Python :: 3', |
40
|
|
|
'Programming Language :: Python :: 3.3', |
41
|
|
|
'Programming Language :: Python :: 3.4', |
42
|
|
|
'Programming Language :: Python :: 3.5', |
43
|
|
|
'Programming Language :: Python :: 3.6', |
44
|
|
|
'Programming Language :: Python :: 3.7', |
45
|
|
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', |
46
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules' |
47
|
|
|
] |
48
|
|
|
|
49
|
|
|
) |
50
|
|
|
|