-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
77 lines (68 loc) · 2.53 KB
/
setup.py
File metadata and controls
77 lines (68 loc) · 2.53 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
#!/usr/bin/env python
import codecs
import os
from setuptools import find_packages
from setuptools import setup
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
requirements = [
"packaging >= 23.0",
"requests >= 2.28.2",
"urllib3 >= 1.26.15",
"websocket-client >= 1.5.1",
"pyyaml >= 6.0",
]
extras_require = {
# win32 APIs if on Windows (required for npipe support)
':sys_platform == "win32"': "pywin32>=306",
# This is now a no-op, as similarly the requests[security] extra is
# a no-op as of requests 2.26.0, this is always available/by default now
# see https://github.com/psf/requests/pull/5867
"tls": [],
# Only required when connecting using the ssh:// protocol
"ssh": ["paramiko>=3.1.0"],
}
with open("./test-requirements.txt") as test_reqs_txt:
test_requirements = [line for line in test_reqs_txt]
long_description = ""
with codecs.open("./README.md", encoding="utf-8") as readme_md:
long_description = readme_md.read()
setup(
name="ipsw",
use_scm_version={"write_to": "ipsw/_version.py"},
description="A Python library for the ipsw Engine API.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/blacktop/ipsw-py",
project_urls={
"Documentation": "https://ipsw-py.readthedocs.io",
"Changelog": "https://ipsw-py.readthedocs.io/en/stable/change-log.html", # noqa: E501
"Source": "https://github.com/blacktop/ipsw-py",
"Tracker": "https://github.com/blacktop/ipsw-py/issues",
},
packages=find_packages(exclude=["tests.*", "tests"]),
setup_requires=["setuptools_scm"],
install_requires=requirements,
tests_require=test_requirements,
extras_require=extras_require,
python_requires=">=3.7",
zip_safe=False,
test_suite="tests",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
"Topic :: Utilities",
"License :: OSI Approved :: Apache Software License",
],
maintainer="Blacktop",
)