diff options
author | Binh Le <lebinh.it@gmail.com> | 2014-03-25 00:17:04 +0700 |
---|---|---|
committer | Binh Le <lebinh.it@gmail.com> | 2014-03-25 00:17:04 +0700 |
commit | 74ca61489da2ac9ec6a4c43f46980fc5da2205d3 (patch) | |
tree | f51c13373a6fd7bbf1d41e994eb86bbfe3e2341e | |
parent | 0dd66177e1c9b97bd60a244e36e404c3381b47f4 (diff) |
Add pypi package and installation info in readme.
-rw-r--r-- | README.rst | 9 | ||||
-rw-r--r-- | ngxtop/__init__.py | 1 | ||||
-rwxr-xr-x | ngxtop/ngxtop.py | 2 | ||||
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | setup.py | 3 |
5 files changed, 14 insertions, 3 deletions
@@ -5,6 +5,15 @@ **ngxtop** parses your nginx access log and outputs useful, ``top``-like, metrics of your nginx server. So you can tell what is happening with your server in real-time. +Installation +------------ + +:: + + pip install ngxtop + + +Note: ``ngxtop`` is primarily developed and tested with python2 but also supports python3. Usage ----- diff --git a/ngxtop/__init__.py b/ngxtop/__init__.py index 7ec1fc3..e69de29 100644 --- a/ngxtop/__init__.py +++ b/ngxtop/__init__.py @@ -1 +0,0 @@ -from ngxtop import main
\ No newline at end of file diff --git a/ngxtop/ngxtop.py b/ngxtop/ngxtop.py index 74f044f..17af878 100755 --- a/ngxtop/ngxtop.py +++ b/ngxtop/ngxtop.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - """ngxtop - ad-hoc query for nginx access log. Usage: @@ -0,0 +1,2 @@ +[wheel] +universal = 1
\ No newline at end of file @@ -20,6 +20,9 @@ setup( 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', ], keywords='cli monitoring nginx system', |