mirror of
https://github.com/moparisthebest/python-libmilter
synced 2024-12-21 23:18:49 -05:00
Added pypi stuff
This commit is contained in:
parent
2751bbcd88
commit
030a363a6f
10
README.md
10
README.md
@ -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.
|
||||
|
||||
|
17
setup.py
17
setup.py
@ -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' ,
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user