-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·30 lines (24 loc) · 835 Bytes
/
setup.py
File metadata and controls
executable file
·30 lines (24 loc) · 835 Bytes
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
#!/usr/bin/env python
import os
from distutils.core import setup
SCRIPT_DIR = os.path.dirname(__file__)
if not SCRIPT_DIR:
SCRIPT_DIR = os.getcwd()
# put together list of requirements to install
install_requires = []
with open(os.path.join(SCRIPT_DIR, 'requirements.txt')) as fh:
for line in fh.readlines():
if line.startswith('-e'):
continue
install_requires.append(line.strip())
setup(name='docker-buildcache',
version='0.0.1',
description='Cache ADD steps in a Dockerfile',
author='Roberto Aguilar',
author_email='roberto@baremetal.io',
scripts=['scripts/docker-buildcache'],
long_description=open('README.md').read(),
url='http://github.com/baremetal/docker-buildcache',
license='LICENSE.txt',
install_requires=install_requires,
)