-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·78 lines (62 loc) · 1.97 KB
/
setup.py
File metadata and controls
executable file
·78 lines (62 loc) · 1.97 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Setup script for docker-build-ami
'''
from setuptools import setup, find_packages
# VERSION MUST be defined on line 10
VERSION = '0.7.0'
with open('requirements.txt') as f:
requires = f.read().splitlines()
with open('requirements-test.txt') as f:
test_deps = f.read().splitlines()
extras = {
"test": test_deps,
}
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
]
with open('README.rst', 'r') as fh:
long_description = fh.read()
setup(
name='jamieleecho-docker-build-ami',
version=VERSION,
description='Build Amazon EC2 AMI image using a Dockerfile',
long_description=long_description,
long_description_content_type='text/x-rst',
# The project's main homepage.
url='https://github.com/jamieleecho/docker-build-ami.git',
# Author details
author='Michael Persson',
author_email='michael.ake.persson@gmail.com',
# Choose your license
license='Apache License, Version 2.0',
license_files=('LICENSE.txt',),
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=CLASSIFIERS,
# What does your project relate to?
keywords='docker aws ami ec2',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(where='src'),
package_dir={
'': 'src',
},
data_files=[('/etc', ['etc/docker-build-ami.conf'])],
install_requires=requires,
tests_require=test_deps,
extras_require=extras,
python_requires=">=3.6",
entry_points={
"console_scripts": [
"docker-build-ami=docker2ami.docker2ami:main",
],
},
)