-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·43 lines (38 loc) · 1.21 KB
/
setup.py
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
"""Setuptools entry point."""
import os
import codecs
from setuptools import setup, find_packages
from humilis_asg import __version__, __author__
dirname = os.path.dirname(__file__)
description = "Humilis plug-in to deploy an Autoscaling Group"
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError, RuntimeError):
if os.path.isfile("README.md"):
long_description = codecs.open(os.path.join(dirname, "README.md"),
encoding="utf-8").read()
else:
long_description = description
setup(
name="humilis-asg",
include_package_data=True,
package_data={
"": ["*.j2", "*.yaml"]},
packages=find_packages(include=["humilis_asg"]),
version=__version__,
author=__author__,
author_email="[email protected]",
url="https://github.com/humilis/humilis-asg",
license="MIT",
description=description,
long_description=long_description,
install_requires=[
"humilis>=1.0.1"],
classifiers=[
"Programming Language :: Python :: 3"],
zip_safe=False,
entry_points={
"humilis.layers": [
"asg=humilis_asg.plugin:get_layer_path"]}
)