Added pypi stuff

This commit is contained in:
Jay Deiman 2012-02-21 12:33:29 -06:00
parent 2751bbcd88
commit 030a363a6f
2 changed files with 22 additions and 5 deletions

View File

@ -4,16 +4,20 @@
1. If you have a .tar.gz, extract that first.
tar -xvzf python-libmilter*.tar.gz
tar -xvzf python-libmilter*.tar.gz
2. Now, just cd into the directory and install it
cd python-libmilter*
python setup.py install
cd python-libmilter*
python setup.py install
That's it, that will install the the libmilter.py file into its proper place.
Do note that you can just drop libmilter.py into your project folder and use it that way too. The whole point of this project is to maximize portability.
You can also install libmilter using *pip* or *easy_install*
pip install python-libmilter
## EXAMPLES ##
See the basic ForkFactory example in the "examples" directory.

View File

@ -16,13 +16,26 @@
# along with python-libmilter. If not, see <http://www.gnu.org/licenses/>.
from distutils.core import setup
from libmilter import __version__ as lmversion
setup(name='python-libmilter' ,
version=lmversion ,
version='1.0.1' ,
author='Jay Deiman' ,
author_email='admin@splitstreams.com' ,
url='http://stuffivelearned.org/doku.php?id=programming:python:python-libmilter' ,
description='A pure python implementation of libmilter' ,
py_modules=['libmilter'] ,
long_description='Full documentation can be found at: '
'http://stuffivelearned.org/doku.php?id=programming:python:python-libmilter' ,
classifiers=[
'Development Status :: 4 - Beta' ,
'Environment :: No Input/Output (Daemon)' ,
'Intended Audience :: System Administrators' ,
'Intended Audience :: Information Technology' ,
'License :: OSI Approved :: GNU General Public License (GPL)' ,
'Natural Language :: English' ,
'Operating System :: POSIX' ,
'Programming Language :: Python' ,
'Topic :: System :: Systems Administration' ,
'Topic :: System' ,
]
)