-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (29 loc) · 1.06 KB
/
setup.py
File metadata and controls
35 lines (29 loc) · 1.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
import io
import os
from setuptools import find_packages, setup
def read(filename):
filename = os.path.join(os.path.dirname(__file__), filename)
with io.open(filename, mode="r", encoding="utf-8") as fd:
return fd.read()
requirements = ["requests", "pyyaml", "openapi-pydantic", "jsonref"]
requirements_dev = ["ruff", "mypy", "pytest", "responses", "pytest-cov"]
setup(
name="requests-openapi",
url="https://github.com/wy-z/requests-openapi",
license="MIT",
author="weiyang",
author_email="weiyang.ones@gmail.com",
description="RequestsOpenAPI is a python client library for OpenAPI 3.0",
long_description=read("README.md"),
long_description_content_type="text/markdown",
use_scm_version=True,
setup_requires=["setuptools_scm"],
packages=find_packages(exclude=("tests",)),
install_requires=requirements,
extras_require={"dev": requirements_dev},
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
)