-
Notifications
You must be signed in to change notification settings - Fork 242
/
setup.py
55 lines (49 loc) · 1.66 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
54
55
import json
import setuptools
with open("src/jsii/_metadata.json") as fp:
metadata = json.load(fp)
with open("README.md", encoding="utf8") as fp:
long_description = fp.read()
setuptools.setup(
name="jsii",
version=metadata["version"],
license=metadata["license"],
url=metadata["homepage"],
project_urls={
"Bug Tracker": metadata["bugs"],
"Source": metadata["repository"],
},
description=metadata["description"],
long_description=long_description,
long_description_content_type="text/markdown",
author=metadata["author"],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
package_data={
"jsii": ["_metadata.json", "py.typed"],
"jsii._embedded.jsii": ["*.js", "*.js.map"],
},
install_requires=[
"attrs~=21.2",
"cattrs~=1.0.0 ; python_version < '3.7'",
"cattrs>=1.8,<22.2 ; python_version >= '3.7'",
"importlib_resources ; python_version < '3.7'",
"python-dateutil",
"typing_extensions>=3.7,<5.0",
],
python_requires="~=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: JavaScript",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Typing :: Typed",
],
)