-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
34 lines (30 loc) · 1.06 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
# -*- coding: utf-8 -*-
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# Standard Library
import os
# Third Party Libraries
import setuptools
try:
with open("README.md", "r", encoding="utf-8") as fp:
LONG_DESCRIPTION = fp.read()
except FileNotFoundError:
LONG_DESCRIPTION = ""
setuptools.setup(
name=os.environ["SOLUTION_NAME"],
version=setuptools.sic(os.environ["SOLUTION_VERSION"]),
description=os.environ["SOLUTION_DESCRIPTION"],
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author=os.environ["SOLUTION_AUTHOR"],
python_requires=f">={os.environ['PYTHON_MINIMUM_VERSION_SUPPORTED']}",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: JavaScript",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
],
)