Repository URL to install this package:
|
Version:
0.3.4 ▾
|
hubboss
/
setup.py
|
|---|
import os.path
from setuptools import setup
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
VERSION = '0.3.4'
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=['boss'],
include_package_data=True,
scripts=['bin/boss'],
entry_points={
'console_scripts': [
'boss = boss:main'
]
},
)