-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
43 lines (36 loc) · 1.11 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
import sys
import subprocess
from setuptools import setup, Command
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, 'runtests.py', 'tests.py'])
raise SystemExit(errno)
setup(
name='Pyped',
cmdclass = {'test': PyTest},
version='1.4',
author='Kevin Samuel',
author_email='kevin.samuel@yandex.com',
py_modules=['pyped'],
license='GPL2',
long_description=open('README.md').read(),
description="Replace sed/grep/cut/awk by letting you execute Python "
"one-liners in your ordinary shell, like perl does.",
url='http://github.com/ksamuel/Pyped',
keywords="python, pipe",
include_package_data=True,
install_requires=['minibelt', 'arrow', 'requests', 'path.py', "six"],
entry_points={
'console_scripts': ['pyp = pyped:main'],
},
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python',
'Operating System :: OS Independent',
],
)