-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (27 loc) · 935 Bytes
/
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
import os
from setuptools import find_packages, setup
root_dir = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(root_dir, "requirements", "base.in")) as fp:
requirements = fp.read().splitlines()
with open(os.path.join(root_dir, "python-version.txt")) as fp:
python_version = fp.read().strip()
with open(os.path.join(root_dir, "README.md")) as fp:
long_description = fp.read()
setup(
name="gitlabci-jobgraph",
version="1.0.0",
description="Build Gitlab CI jobgraph",
long_description=long_description,
long_description_content_type="text/markdown",
url="TODO",
packages=find_packages("src"),
package_dir={"": "src"},
package_data={
"": ["*.md"],
},
install_requires=requirements,
classifiers=[
f"Programming Language :: Python :: {python_version}",
],
entry_points={"console_scripts": ["jobgraph = jobgraph.main:main"]},
)