-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
79 lines (63 loc) · 2.06 KB
/
setup.py
File metadata and controls
79 lines (63 loc) · 2.06 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# -*- coding:utf-8 -*-
import os
from setuptools import setup, find_packages
from setuptools.dist import Distribution
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, "README.md")) as f:
README = f.read().replace("\r","")
except IOError:
README = ""
try:
with open(os.path.join(here, "CHANGES.txt")) as f:
CHANGES = f.read()
except IOError:
CHANGES = ""
"""
NOTE: keep requirements_dev.txt and the *_requires lists below in sync
for future reference:
from pip.req import parse_requirements
install_requires = parse_requirements(<requirements_path>)
"""
install_requires = [
"sqlalchemy>=1.4.0",
"pyyaml>=6.0"
]
docs_extras = []
tests_require = [
"pytest>=7.0.0",
"sqlacodegen>=3.0rc1"
]
testing_extras = tests_require + []
setup_kwargs = {
"name": "swagger-dialect",
"version": open("VERSION").read().strip(),
"description": "Swagger definition SQLAlchemy reflection",
"long_description": README + "\n\n" + CHANGES,
"long_description_content_type": "text/markdown",
"python_requires": ">3.10.0",
"classifiers": [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Database :: Front-Ends",
],
"keywords": "import, physical address, file path",
"author": "robertbetts",
"url": "https://github.com/robertbetts/swagger-dialect",
"packages": find_packages(),
"include_package_data": True,
"zip_safe": False,
"install_requires": install_requires,
"extras_require": {"testing": testing_extras, "docs": docs_extras},
"tests_require": tests_require,
"test_suite": "tests",
"entry_points": "",
}
setup(**setup_kwargs)