-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
42 lines (33 loc) · 1.21 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
from setuptools import find_packages, setup
def get_description():
return "AWS Lambda functions for Red Hat's Content Delivery Network"
def get_long_description():
with open("README.md") as readme:
text = readme.read()
# Long description is everything after README's initial heading
idx = text.find("\n\n")
return text[idx:]
def get_requirements():
with open("requirements.in") as reqs:
return [line.split()[0] for line in reqs.read().splitlines()]
setup(
name="exodus-lambda",
version="0.0.1",
packages=find_packages(exclude=["tests"]),
include_package_data=True,
url="https://github.com/release-engineering/exodus-lambda",
license="GNU General Public License",
description=get_description(),
long_description=get_long_description(),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
],
install_requires=get_requirements(),
python_requires=">=3.9",
project_urls={
"Documentation": "https://release-engineering.github.io/exodus-lambda"
},
)