[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pysieved] [PATCH] Setup.py and intent to submit FreeBSD port
- From: Jonathan Stewart <jonathan at kc8onw dot net>
- Subject: [pysieved] [PATCH] Setup.py and intent to submit FreeBSD port
- Date: Sat, 28 Jul 2007 10:42:50 -0400
[This is mainly directed at Neale]
I'm trying to setup pysieved to be able to use the python distutils for
installation in the process of creating a freebsd port. I have the
files from the source rearranged like [1] and I have created a setup.py
[2] This unfortunately breaks all the imports and I don't know how to
fix them as I don't have much experience with Python modules/packages.
Should I even bother trying to use the Python distutils and have most of
pysieved installed in site-packages (which seems like it may cause
problems because it's interpreter version specific) or should I just
copy everything into a folder in /usr/local/bin ?
Here are links to the python distutils information for those that are
not familiar with it.
http://docs.python.org/dist/intro.html
http://docs.python.org/inst/inst.html
[1]
./COPYING
./README
./README.Dovecot
./THANKS
./setup.py
./contrib
./contrib/pysieved.xinetd
./pysieved.ini
./pysieved.py
./test.py
./pysieved
./pysieved/managesieve.py
./pysieved/plugins
./pysieved/plugins/__init__.py
./pysieved/plugins/accept.py
./pysieved/plugins/dovecot.py
./pysieved/plugins/htpasswd.py
./pysieved/plugins/mysql.py
./pysieved/plugins/pam.py
./pysieved/plugins/passwd.py
./pysieved/plugins/sasl.py
./pysieved/plugins/virtual.py
./pysieved/daemon.py
./pysieved/config.py
[2]
from distutils.core import setup
setup(name='pysieved',
version='20070725',
description='Python Managesieve server',
author='Neale Pickett',
author_email='neale at woozle dot org',
url='http://woozle.org/~neale/src/pysieved/',
packages=['pysieved', 'pysieved/plugins'],
scripts=['pysieved.py'],
)