forked from cmarzullo/saltscaffold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (45 loc) · 1.38 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
44
45
46
47
48
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
config = {
'description': 'sets up files and directories for a new salt formula',
'long_description': read_md('README.md'),
'author': 'Christopher Marzullo',
'url': 'https://github.com/cmarzullo/saltsaffold',
'author_email': '[email protected]',
'version': '3.0.5',
'install_requires': ['nose','mako'],
'packages': ['saltscaffold'],
'package_data': {
'': [
'skel/*.md',
'skel/*.txt',
'skel/*.sls',
'skel/.gitignore',
'skel/.kitchen.yml',
'skel/.kitchen-ci.yml',
'skel/Gemfile',
'skel/formula/*.sls',
'skel/formula/map.jinja',
'skel/formula/defaults.yml',
'skel/formula/files/config.conf',
'skel/test/integration/default/serverspec/_spec.rb',
'skel/test/mockup/*.sls'
]
},
'scripts': [],
'name': 'Saltscaffold',
'entry_points': {
'console_scripts': [
'saltscaffold = saltscaffold.__main__:main',
]
}
}
setup(**config)