-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (35 loc) · 981 Bytes
/
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
import os
import bossformation
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def readme():
try:
import pypandoc
return pypandoc.convert(source='README.md', to='rst')
except:
with open('README.md') as f:
return f.read()
version = bossformation.__version__
config = {
'description': 'Tool to enhance AWS CloudFormation',
'long_description': readme(),
'author': 'Joseph Wright',
'url': 'https://github.com/cloudboss/bossformation',
'download_url': 'https://github.com/cloudboss/bossformation/releases/{}'.format(version),
'author_email': 'rjosephwright@gmail.com',
'version': version,
'install_requires': [
'boto3',
'click',
'jinja2',
'PyYAML',
],
'packages': ['bossformation'],
'entry_points': {
'console_scripts': ['bf = bossformation.cli:main']
},
'name': 'bossformation'
}
setup(**config)