forked from samuel/python-ping
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·30 lines (26 loc) · 726 Bytes
/
setup.py
File metadata and controls
executable file
·30 lines (26 loc) · 726 Bytes
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
#!/usr/bin/env python
# coding: utf-8
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='pyping',
version='0.0.4',
description='A pure python ICMP ping implementation using raw sockets',
long_description=open('README.rst').read() + '\n\n' +
open('HISTORY.rst').read(),
license=open("LICENSE").read(),
author="Geoffrey Lehée",
author_email="geoffrey@lehee.name",
url='https://github.com/socketubs/Pyping/',
keywords="ping icmp network latency",
packages=['pyping'],
install_requires=['six', 'clint'],
scripts=["bin/pyping"]
)