summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBinh Le <lebinh.it@gmail.com>2014-03-25 00:17:04 +0700
committerBinh Le <lebinh.it@gmail.com>2014-03-25 00:17:04 +0700
commit74ca61489da2ac9ec6a4c43f46980fc5da2205d3 (patch)
treef51c13373a6fd7bbf1d41e994eb86bbfe3e2341e
parent0dd66177e1c9b97bd60a244e36e404c3381b47f4 (diff)
Add pypi package and installation info in readme.
-rw-r--r--README.rst9
-rw-r--r--ngxtop/__init__.py1
-rwxr-xr-xngxtop/ngxtop.py2
-rw-r--r--setup.cfg2
-rw-r--r--setup.py3
5 files changed, 14 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 97c3568..8bf622d 100644
--- a/README.rst
+++ b/README.rst
@@ -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:
diff --git a/setup.cfg b/setup.cfg
index e69de29..0a8df87 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -0,0 +1,2 @@
+[wheel]
+universal = 1 \ No newline at end of file
diff --git a/setup.py b/setup.py
index db45f95..d7e6c35 100644
--- a/setup.py
+++ b/setup.py
@@ -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',