-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
44 lines (37 loc) · 1.03 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
#!/usr/bin/env python
"""Setup script for sample package (python3)."""
import distutils.core
import glob
import os
import setuptools
import sys
_NAME = 'salt_essentials_utils'
_PYTHON_PKG_NAME = 'salt_essentials'
_PKG_VERSION = '0.0.3'
_PKG_DESCRIPTION = 'Suite of utilities and scripts for Salt Essentials.'
_PKG_AUTHOR_NAME = 'Craig Sebenik'
_PKG_AUTHOR_EMAIL = 'craig5@pobox.com'
_PKG_URL = 'http://www.friedserver.com/'
_PKG_KEYWORDS = ['salt', 'salt-stack', 'tutorial']
#
_BASE_DIR = os.path.dirname(os.path.abspath(__file__))
_LIB_DIR = 'lib'
_BIN_DIR = 'bin'
_DATA_DIR = 'data'
_DATA_LIST = ['{0}/*'.format(_DATA_DIR)]
_SCRIPTS = glob.glob('{0}/[a-z]*'.format(_BIN_DIR))
print "scripts", _SCRIPTS
setuptools.setup(
name=_NAME,
version=_PKG_VERSION,
description=_PKG_DESCRIPTION,
author=_PKG_AUTHOR_NAME,
author_email=_PKG_AUTHOR_EMAIL,
package_dir={'': _LIB_DIR},
packages=[_PYTHON_PKG_NAME],
package_data={'': _DATA_LIST},
scripts=_SCRIPTS,
url=_PKG_URL,
keywords=_PKG_KEYWORDS,
)
# End of file.