-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsetup.py
62 lines (55 loc) · 1.73 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
60
61
62
from codecs import open
from os import path
from setuptools import setup
from faunadb import __author__ as pkg_author
from faunadb import __license__ as pkg_license
from faunadb import __version__ as pkg_version
# Load the README file for use in the long description
local_dir = path.abspath(path.dirname(__file__))
with open(path.join(local_dir, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
requires = [
"iso8601",
"requests",
"future",
"httpx[http2]"
]
tests_requires = [
"nose2",
"nose2[coverage_plugin]",
]
extras_require = {
"test": tests_requires,
"lint": ["pylint"],
}
setup(
name="faunadb",
version=pkg_version,
description="FaunaDB Python driver",
long_description=long_description,
url="https://github.com/fauna/faunadb-python",
author=pkg_author,
author_email="[email protected]",
license=pkg_license,
classifiers=[
"Development Status :: 7 - Inactive",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
],
keywords="faunadb fauna",
packages=["faunadb", "faunadb.streams"],
install_requires=requires,
extras_require=extras_require,
tests_require=tests_requires,
test_suite="nose2.collector.collector",
)