"Fossies" - the Fresh Open Source Software Archive 
Member "pyzor-1.0.0/setup.py" (10 Dec 2014, 2248 Bytes) of package /linux/privat/pyzor-1.0.0.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "setup.py" see the
Fossies "Dox" file reference documentation.
1 import sys
2 import setuptools
3 import distutils.core
4
5 import pyzor
6
7 try:
8 # These automatically run 2to3 and modules and scripts while installing,
9 # when ran under Python 3
10 from distutils.command.build_py import build_py_2to3 as build_py
11 from distutils.command.build_scripts import \
12 build_scripts_2to3 as build_scripts
13 except ImportError:
14 from distutils.command.build_py import build_py
15 from distutils.command.build_scripts import build_scripts
16
17 long_description = """
18 Pyzor is spam-blocking networked system that uses spam signatures
19 to identify them.
20 """
21
22 classifiers = ["Operating System :: POSIX",
23 "Operating System :: Microsoft :: Windows",
24
25 "Environment :: Console",
26 "Environment :: No Input/Output (Daemon)",
27
28 "Programming Language :: Python",
29 "Programming Language :: Python :: 2.6",
30 "Programming Language :: Python :: 3",
31
32 "Intended Audience :: System Administrators",
33
34 "Topic :: Communications :: Email",
35 "Topic :: Communications :: Email :: Filters",
36
37 "Development Status :: 5 - Production/Stable",
38
39 "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
40 ]
41
42 distutils.core.setup(name='pyzor',
43 version=pyzor.__version__,
44 description='networked spam-signature detection',
45 long_description=long_description,
46 author='Frank J. Tobin',
47 author_email='ftobin@neverending.org',
48 license='GPL',
49 platforms='POSIX',
50 keywords='spam',
51 url='http://www.pyzor.org/',
52 scripts=['scripts/pyzor', 'scripts/pyzord',
53 'scripts/pyzor-migrate'],
54 packages=['pyzor',
55 'pyzor.engines',
56 'pyzor.hacks'],
57 classifiers=classifiers,
58 test_suite="tests.suite",
59 cmdclass={'build_py': build_py,
60 'build_scripts': build_scripts,
61 },
62 )