-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
55 lines (47 loc) · 1.59 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
import setuptools
import os
base_dir = os.path.dirname(__file__)
with open("README.md", "r") as f:
long_description = f.read()
about = {}
with open(os.path.join(base_dir, "knockapi", "__about__.py")) as f:
exec(f.read(), about)
def read_requirements(filename):
with open(filename) as f:
return [line.strip() for line in f if line.strip() and not line.startswith("#")]
setuptools.setup(
name='knockapi',
version=about['__version__'],
python_requires='>=2.7.16, <4',
install_requires=[
'requests',
],
extras_require={
"dev": ['flake8', 'pytest', 'bump2version'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Client library for the Knock API',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/knocklabs/knock-python',
packages=setuptools.find_packages(exclude=[
"tests*",
]),
author='Knock Labs, Inc.',
author_email='[email protected]',
license='MIT',
zip_safe=False,
)