-
Notifications
You must be signed in to change notification settings - Fork 264
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (49 loc) · 1.67 KB
/
setup.py
File metadata and controls
55 lines (49 loc) · 1.67 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
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,<23.0",
"cattrs>=1.8,<22.2",
"publication>=0.0.3", # This is used by all generated code.
"typeguard~=2.13.3", # This is used by all generated code.
"python-dateutil",
"typing_extensions>=3.7,<5.0",
],
python_requires="~=3.7",
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.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Typing :: Typed",
],
)