forked from 2gis/k8s-handle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (26 loc) · 915 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
import os
from setuptools import setup, find_packages
readme_path = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'README.md')
def get_content(path):
with open(path, 'r') as f:
return f.read()
setup(name='k8s-handle',
version=os.environ.get('RELEASE_TAG', '0.0.0'),
long_description=get_content(readme_path),
long_description_content_type='text/markdown',
description='Provisioning tool for Kubernetes apps',
url='http://github.com/2gis/k8s-handle',
author='Vadim Reyder',
author_email='vadim.reyder@gmail.com',
license='Apache 2.0',
packages=find_packages(exclude=("tests",)),
data_files=['requirements.txt'],
entry_points={
"console_scripts": [
"k8s-handle=k8s_handle:main",
]
},
install_requires=get_content('requirements.txt').split('\n'),
zip_safe=False)