Skip to content
Snippets Groups Projects
Select Git revision
  • 1c51835a8067a72f91f991e19d825d16b5b80f30
  • master default protected
  • more_logging
  • MDL-58395
  • accountexpires
  • hsh_3.10
  • v3.10-r1
  • v3.9-r2
  • v3.9-r1
  • v3.8-r1
  • v3.7-r1
  • v3.6-r1
  • v3.5-r2
  • v3.5-r1
  • v3.4-r4
  • v3.4-r3
  • v3.4-r2
  • v3.4-r1
  • v3.3-r1
  • v3.2-r4
  • v3.2-r3
  • v3.2-r2
  • v3.2-r1
  • v3.1-r1
  • v3.0-r3
  • v3.0-r2
26 results

eventhandler.php

Blame
  • setup.py 1.57 KiB
    import os
    import sys
    from distutils.core import setup, Extension
    
    # FIXME: on some versions of sendmail, smutil is renamed to sm
    libs = ["milter", "smutil"]
    
    # patch distutils if it can't cope with the "classifiers" or
    # "download_url" keywords
    if sys.version < '2.2.3':
      from distutils.dist import DistributionMetadata
      DistributionMetadata.classifiers = None
      DistributionMetadata.download_url = None
    
    setup(name = "milter", version = "0.8.1",
    	description="Python interface to sendmail milter API",
    	long_description="""\
    This is a python extension module to enable python scripts to
    attach to sendmail's libmilter functionality.  Additional python
    modules provide for navigating and modifying MIME parts, and
    querying SPF records.
    """,
    	author="Jim Niemira",
    	author_email="urmane@urmane.org",
    	maintainer="Stuart D. Gathman",
    	maintainer_email="stuart@bmsi.com",
    	license="GPL",
    	url="http://www.bmsi.com/python/milter.html",
    	py_modules=["mime","spf"],
    	packages = ['Milter'],
    	ext_modules=[
    	  Extension("milter", ["miltermodule.c"],
    	    libraries=libs,
    	    define_macros = [ ('MAX_ML_REPLY',32) ]
    	  ),
    	],
    	keywords = ['sendmail','milter'],
    	classifiers = [
    	  'Development Status :: 5 - Production/Stable',
    	  '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',
    	  'Topic :: Communications :: Email :: Mail Transport Agents',
    	  'Topic :: Communications :: Email :: Filters'
    	]
    )