From 74ca61489da2ac9ec6a4c43f46980fc5da2205d3 Mon Sep 17 00:00:00 2001 From: Binh Le Date: Tue, 25 Mar 2014 00:17:04 +0700 Subject: Add pypi package and installation info in readme. --- README.rst | 9 +++++++++ ngxtop/__init__.py | 1 - ngxtop/ngxtop.py | 2 -- setup.cfg | 2 ++ setup.py | 3 +++ 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', -- cgit v1.2.3