File: setup.py

package info (click to toggle)
python-zc.customdoctests 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 148 kB
  • sloc: python: 225; makefile: 5
file content (74 lines) | stat: -rw-r--r-- 2,507 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
##############################################################################
#
# Copyright (c) Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
import os
from setuptools import setup, find_packages

here = os.path.dirname(__file__)

def read(filename):
    with open(os.path.join(here, filename)) as f:
        return f.read()


install_requires = ['setuptools']

extras_require = dict(
    test=['zope.testing', 'manuel'],
    js=['python-spidermonkey'],
)

setup(
    name='zc.customdoctests',
    version='1.0.1',
    url='http://pypi.python.org/pypi/zc.customdoctests',
    license='ZPL 2.1',
    description=read('README.txt').splitlines(False)[0],
    author='Jim Fulton',
    author_email='jim@zope.com',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Zope Public License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: Implementation :: CPython',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Topic :: Software Development',
    ],
    long_description=''.join([
        read('README.txt'),
        '\n\n'
        'Detailed documentation\n'
        '======================\n\n',
        read('src/zc/customdoctests/README.txt'),
        '\n\n',
        read('src/zc/customdoctests/spidermonkey.txt'),
        '\n\n',
        read('CHANGES.txt'),
    ]),
    packages=find_packages('src'),
    package_dir={'': 'src'},
    namespace_packages=['zc',],
    install_requires=install_requires,
    package_data={'zc.customdoctests': ['*.txt']},
    extras_require=extras_require,
    tests_require=extras_require['test'],
    test_suite='zc.customdoctests.tests.test_suite',
    zip_safe=False,
)