Eclectic Media Git pingstats / 41ce0f2
Merge branch 'V1.0.1-setup-fix' Ariana Giroux 9 days ago
2 changed file(s) with 5 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
77 ... print(ping)
88 # The most recent return time in milliseconds
99 """
10
1011 from __future__ import print_function, with_statement
1112
1213 # STANDARD LIBRARY PACKAGES
2425 import asciiplotlib as apl
2526 else:
2627 raise RuntimeError('cannot import asciiplotlib without gnuplot')
27 except RuntimeError:
28 except ModuleNotFoundError:
2829 from hipsterplot import plot
2930
3031 from .config import get_lines, append_argv, parse_lines
32
33 __version__ = "1.0.0"
3134
3235 # RUN CONFIG
3336 if sys.argv[0].count('pingstats') and not sys.argv[0].count('.py'):
4043 exit(1)
4144
4245
43 __version__ = "1.0.0"
4446 PROG_NAME = 'pingstats'
4547
4648 # PARSER CONFIG
00 from setuptools import setup, find_packages
1 from pingstats import __version__
21
32 with open("docs/README.rst", "r") as fh:
43 long_description = fh.read()
87
98 setup(
109 name='pingstats',
11 version=__version__,
10 version='1.0.0',
1211 description='Simple ping visualization on the CLI',
1312 long_description=long_description,
1413 long_description_content_type="text/x-rst",