diff --git a/dkimpy-milter b/dkimpy_milter/__init__.py similarity index 100% rename from dkimpy-milter rename to dkimpy_milter/__init__.py diff --git a/config.py b/dkimpy_milter/config.py similarity index 100% rename from config.py rename to dkimpy_milter/config.py diff --git a/util.py b/dkimpy_milter/util.py similarity index 100% rename from util.py rename to dkimpy_milter/util.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..849b183 --- /dev/null +++ b/setup.py @@ -0,0 +1,57 @@ +#! /usr/bin/python +# dkimpy-milter: A DKIM signing/verification Milter application +# Author: Scott Kitterman +# Copyright 2018 Scott Kitterman +""" This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.""" + +from setuptools import setup + +description = "Domain Keys Identified Mail (DKIM) signing/verifying milter for Postfix/Sendmail." + +setup( + name='dkimpy-milter', + version='0', + author='Scott Kitterman', + author_email='scott@kitterman.com', + url='https://launchpad.net/dkimpy-milter', + description=description, + download_url = "https://pypi.python.org/pypi/dkimpy-milter", + classifiers= [ + 'Development Status :: 3 - Alpha', + 'Environment :: No Input/Output (Daemon)', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: GNU General Public License (GPL)', + 'Natural Language :: English', + 'Operating System :: POSIX', + 'Programming Language :: Python :: 2 :: Only', + 'Topic :: Communications :: Email :: Mail Transport Agents', + 'Topic :: Communications :: Email :: Filters', + 'Topic :: Security', + ], + packages=['dkimpy_milter'], + entry_points = { + 'console_scripts' : [ + 'dkimpy-milter = dkimpy_milter.__init__:main', + ], + }, + package_data={'dkimpy_milter': [ + 'templates/*', + 'data/*', + ]}, + + install_requires = ['dkimpy', 'pymilter'], + + zip_safe = False, +)