forked from supabase/pg_graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (41 loc) · 1.18 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
#!/usr/bin/env python
"""Setup script for the package."""
import sys
import setuptools
PACKAGE_NAME = "pg_graphql"
MINIMUM_PYTHON_VERSION = "3.6"
def check_python_version():
"""Exit when the Python version is too low."""
if sys.version < MINIMUM_PYTHON_VERSION:
sys.exit("Python {0}+ is required.".format(MINIMUM_PYTHON_VERSION))
check_python_version()
DEV_REQUIRES = [
"pytest",
"pytest-benchmark",
"pre-commit",
"pylint",
"black",
"psycopg2",
"sqlalchemy",
"pre-commit",
"flupy",
"isort",
]
setuptools.setup(
name="pg_graphql",
version="0.0.1",
# packages=setuptools.find_packages("src/python", exclude=("tests",)),
# package_dir={"": "src/python"},
classifiers=[
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
install_requires=DEV_REQUIRES,
)