-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·38 lines (35 loc) · 1.07 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
from setuptools import setup
import re
def read(f):
with open(f) as file:
return file.read()
def get_version():
_version_re = re.compile(r'__version__\s+=\s+(.*)')
_to_parse = read('ash/__init__.py')
version = _version_re.search(_to_parse).group(1).strip("'")
return version
setup(name='ash',
version = get_version(),
description = 'The Ansible SHell',
# long_description=read('README.rd') + '\n\n' + read('HISTORY.rd'),
classifiers = [
'Development Status :: 3 - Alpha',
'License :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Ansible :: Shell :: cli',
],
keywords = 'ash ansible shell cli prompt-toolkit pt',
url = 'https://github.com/Nani-o/ash',
author = 'Sofiane Medjkoune',
author_email = '[email protected]',
license = 'MIT',
packages = ['ash'],
install_requires = [
'ansible',
'prompt_toolkit'
],
entry_points = {
'console_scripts': ['ash=ash.main:main'],
},
include_package_data = True,
zip_safe = False)