-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
59 lines (52 loc) · 1.96 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import os
import re
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
os.chdir(os.path.dirname(os.path.abspath(__file__)))
with open('cleverbot/__init__.py') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
f.read(), re.MULTILINE).group(1)
with open('README.rst') as f:
readme = f.read()
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
setup(
name='cleverbot.py',
version=version,
description="A Cleverbot API wrapper for Python with asynchronous "
"functionality.",
long_description=readme,
url='https://github.com/orlnub123/cleverbot.py',
author='orlnub123',
license='MIT',
packages=['cleverbot', 'cleverbot.async_'],
install_requires=['requests>=1.0.0'],
extras_require={'async': ['aiohttp>=1.0.0']},
python_requires='>=2.7, !=3.0.*, !=3.1.*',
setup_requires=pytest_runner,
tests_require=['pytest>=2.5.0',
'pytest-asyncio>=0.1.3; python_version>="3.4.2"'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet',
'Topic :: Games/Entertainment',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
]
)