forked from baremetal/docker-buildcache
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·27 lines (22 loc) · 794 Bytes
/
setup.py
File metadata and controls
executable file
·27 lines (22 loc) · 794 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
#!/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():
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-buildcace',
license='LICENSE.txt',
install_requires=install_requires,
)