forked from mozilla-releng/scriptworker-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (25 loc) · 1.02 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
import os
from setuptools import find_packages, setup
project_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(project_dir, "version.txt")) as f:
version = f.read().rstrip()
# We allow commented lines in this file
with open(os.path.join(project_dir, "requirements/base.in")) as f:
requirements = [line.rstrip("\n") for line in f if not line.startswith("#")]
setup(
name="bouncerscript",
version=version,
description="TaskCluster Bouncer Script",
author="Mozilla Release Engineering",
author_email="[email protected]",
url="https://github.com/mozilla-releng/bouncerscript",
packages=find_packages("src"),
package_data={"bouncerscript": ["data/*"]},
package_dir={"": "src"},
include_package_data=True,
zip_safe=False,
entry_points={"console_scripts": ["bouncerscript = bouncerscript.script:main"]},
license="MPL2",
install_requires=requirements,
classifiers=("Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7"),
)