Passed
Push — master ( f44219...2eb378 )
by dai
01:26
created

setup.read()   A

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nop 1
1
#!/usr/bin/env python
2
# coding=utf-8
3
4
import os
5
import codecs
6
from setuptools import setup, find_packages
7
8
9
def read(fname):
10
    return codecs.open(
11
        os.path.join(os.path.dirname(__file__), fname), "r", "utf-8"
12
    ).read()
13
14
15
readme = read("README.md")
16
17
setup(
18
    name="School-Api",
19
    author="dairoot",
20
    version="1.0",
21
    license='MIT',
22
    author_email="[email protected]",
23
    description="School SDK for Python",
24
    long_description=readme,
25
    url='https://github.com/dairoot/school-api',
26
    packages=find_packages(),
27
    package_data={'school_api': ['check_code/theta.dat'], },
28
    include_package_data=True,
29
    platforms='any',
30
    zip_safe=False,
31
32
    install_requires=[
33
        'requests',
34
        'redis',
35
        'bs4',
36
        'Image',
37
        'numpy'
38
    ],
39
    classifiers=[
40
        'Environment :: Web Environment',
41
        'Intended Audience :: Developers',
42
        'License :: OSI Approved :: MIT License',
43
        'Operating System :: OS Independent',
44
        'Programming Language :: Python :: 2.7',
45
        'Programming Language :: Python :: 3',
46
        'Programming Language :: Python :: 3.3',
47
        'Programming Language :: Python :: 3.4',
48
        'Programming Language :: Python :: 3.5',
49
        'Programming Language :: Python :: 3.6',
50
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
51
        'Topic :: Software Development :: Libraries :: Python Modules'
52
    ]
53
54
)
55