-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
59 lines (56 loc) · 1.46 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
README_PATH = os.path.join(HERE, "README.md")
if os.path.exists(README_PATH):
with open(README_PATH) as f:
README = f.read()
else:
README = "gRPC ImageBuilder service"
setup(
name="m1l0-builder",
version="1.0.0",
description="gRPC service for building docker images",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/m1l0",
author="Chee Yeo",
author_email="ckyeo.1@gmail.com",
license="MIT",
packages=find_packages(exclude=[
'tests',
'tests.*',
'__pycache__'
]),
include_package_data=True,
package_data={
"builder": [
"templates/image.jinja"
]
},
install_requires=[
"docker~=5.0.0",
"boto3~=1.14.2",
"Jinja2~=2.11",
"grpcio-tools~=1.30",
"grpc-interceptor==0.12.0",
"requests~=2.25.1",
"PyGithub~=1.55",
"pytest~=5.4.1",
"pytest-cov==2.8.1",
"flake8~=3.9.2",
"flake8-2020~=1.6.0",
"moto==1.3.15.dev963",
"grpcio-reflection",
"grpcio-health-checking",
"click==8.0.1",
"m1l0_protobufs~=0.9.0"
],
entry_points={
"console_scripts": [
"builder = builder.cli.cli:start"
]
},
setup_requires=['pytest-runner', 'flake8'],
tests_require=['pytest']
)