Repository URL to install this package:
|
Version:
0.3.30 ▾
|
hubboss
/
setup.py
|
|---|
import os.path
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
# TODO: import boss; boss.VERSION
VERSION = '0.3.30'
requirements_file = os.path.join(SOURCE_DIR, 'requirements.txt')
with open(requirements_file) as file_obj:
first_pass = (line.strip() for line in file_obj)
pypi_dependencies = []
git_dependencies = []
for line in first_pass:
if line.startswith('-e '):
line = line[3:]
if line.startswith('git://'):
git_dependencies.append(line)
elif line:
pypi_dependencies.append(line)
setup(
name='hubboss',
version=VERSION,
description='A tool for deployment of Docker containers',
url='www.docker.com',
install_requires=pypi_dependencies,
dependency_links=git_dependencies,
packages=find_packages(),
include_package_data=True,
scripts=[
'bin/boss',
'bin/etc-hosts-aws_prod',
'bin/etc-hosts-aws_stage',
'bin/select_cid',
],
entry_points={
'console_scripts': [
'boss = boss:main'
]
},
)