-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
42 lines (35 loc) · 1.07 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
import sys
if sys.version_info.major < 3:
print('Python 3 is required')
sys.exit()
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
from setuptools import setup, find_packages
setup(
name='codeforces_api',
version='0.3.4',
description='Wrapper library for Codeforces API',
license='MIT',
keywords='codeforces api wrapper',
url='https://github.com/soon/CodeforcesAPI',
packages=find_packages(exclude=['tests', 'tests.*', 'examples']),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Utilities'
],
install_requires=['enum34'],
author='Andrew Kuchev',
author_email='[email protected]',
test_suite='tests'
)