-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (47 loc) · 1.57 KB
/
setup.py
File metadata and controls
53 lines (47 loc) · 1.57 KB
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
import os
import sys
import warnings
from setuptools import setup
path, script = os.path.split(sys.argv[0])
os.chdir(os.path.abspath(path))
install_requires = []
if sys.version_info < (3, 0):
warnings.warn(
'Python 2 is not supported.',
DeprecationWarning)
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'invoiced'))
from version import VERSION
with open('LONG_DESCRIPTION.rst') as f:
long_description = f.read()
setup(
name='invoiced',
version=VERSION,
description='Invoiced client library',
long_description=long_description,
author='Invoiced',
author_email='support@invoiced.com',
url='https://github.com/invoiced/invoiced-python',
packages=['invoiced', 'invoiced.test'],
install_requires=[
'requests >= 2.0.0',
'inflection >= 0.5.1'
],
extras_require={
'requests': ['security>=2.0.0']
},
test_suite='invoiced.test.all',
tests_require=['responses >= 0.5.0'],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules"
])