-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·51 lines (44 loc) · 1.57 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
49
50
51
#!/usr/bin/env python
from distutils.core import setup
setup(
name = "py-execute",
packages = ["py_execute"],
version = "0.1.7",
description = "External process executor wrapper",
install_requires=["colorama == 0.2.7",],
author = "Julia S.Simon",
author_email = "[email protected]",
url = "https://github.com/biicode/py-execute",
download_url = "https://pypi.python.org/packages/source/p/py-execute/py-execute-0.1.tar.gz",
keywords = ["process", "execute", "output"],
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Logging",
"Topic :: Terminals",
"Topic :: Utilities",
],
long_description = """\
External Process Execution Wrapper
-----------------------------------
Allows you to execute external commands getting large outputs in real-time but also getting
all the output as a return variable.
Examples
--------
from py_execute import run_command
ret = run_command.execute('echo "Hello World"')
Hello World
ret
'Hello World\n'
ret = run_command.execute('read -p "Do you like py-executor?" yn; case $yn in [yY]* ) echo "cool";; esac', user_input='y\n')
cool
ret
'cool\n'
"""
)