-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
64 lines (53 loc) · 1.75 KB
/
setup.py
File metadata and controls
64 lines (53 loc) · 1.75 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
# coding: utf-8
"""
BoldSign API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 1
Contact: support@boldsign.com
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
import sys
from setuptools import setup, find_packages # noqa: H301
from pathlib import Path
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "boldsign"
VERSION = "3.1.1"
# Check if a version was passed via command-line arguments
if "--version" in sys.argv:
version_index = sys.argv.index("--version") + 1
if version_index < len(sys.argv):
VERSION = sys.argv[version_index]
sys.argv = [arg for arg in sys.argv if arg not in ("--version", VERSION)]
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3",
"python-dateutil",
"pydantic >= 2",
"typing-extensions >= 4.7.1",
]
this_directory = Path(__file__).parent
content = (this_directory / "README.md").read_text()
split_marker = "## Documentation for API Endpoints"
long_description = content.split(split_marker)[0]
setup(
name=NAME,
version=VERSION,
description="BoldSign API",
author="BoldSign",
author_email="support@boldsign.com",
url="https://github.com/boldsign/boldsign-python-sdk",
keywords=["boldsign", "api", "sdk", "BoldSign API"],
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
license="MIT",
long_description=long_description,
long_description_content_type='text/markdown',
package_data={"boldsign": ["py.typed"]},
)