setup.py
changeset 0 712d20d2751e
child 28 ec82f750a462
equal deleted inserted replaced
-1:000000000000 0:712d20d2751e
       
     1 # -*- coding: utf-8 -*-
       
     2 # Copyright (c) 2008 'Thierry Florac'
       
     3 
       
     4 # This program is free software; you can redistribute it and/or modify
       
     5 # it under the terms of the GNU General Public License as published by
       
     6 # the Free Software Foundation; either version 2 of the License, or
       
     7 # (at your option) any later version.
       
     8 
       
     9 # This program is distributed in the hope that it will be useful,
       
    10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12 # GNU General Public License for more details.
       
    13 
       
    14 # You should have received a copy of the GNU General Public License
       
    15 # along with this program; see the file COPYING. If not, write to the
       
    16 # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
       
    17 """
       
    18 This module contains the tool of ztfy.utils
       
    19 """
       
    20 import os
       
    21 from setuptools import setup, find_packages
       
    22 
       
    23 version = '0.1'
       
    24 
       
    25 README = os.path.join(os.path.dirname(__file__),
       
    26           'ztfy',
       
    27           'utils', 'docs', 'README.txt')
       
    28 
       
    29 long_description = open(README).read() + '\n\n'
       
    30 
       
    31 tests_require = [
       
    32         'zope.testing',
       
    33     ]
       
    34 
       
    35 setup(name='ztfy.utils',
       
    36       version=version,
       
    37       description="ZTFY utility functions and classes for Zope3",
       
    38       long_description=long_description,
       
    39       classifiers=[
       
    40           "Programming Language :: Python",
       
    41           "Topic :: Software Development :: Libraries :: Python Modules",
       
    42       ],
       
    43       keywords='ZTFY utilities for Zope3',
       
    44       author='Thierry Florac',
       
    45       author_email='tflorac@ulthar.net',
       
    46       url='',
       
    47       license='ZPL',
       
    48       packages=find_packages(exclude=['ez_setup']),
       
    49       namespace_packages=['ztfy'],
       
    50       include_package_data=True,
       
    51       zip_safe=False,
       
    52       # uncomment this to be able to run tests with setup.py
       
    53       #test_suite = "ztfy.utils.tests.test_utilsdocs.test_suite",
       
    54       tests_require=tests_require,
       
    55       extras_require=dict(test=tests_require),
       
    56       install_requires=[
       
    57           'setuptools',
       
    58           # -*- Extra requirements: -*-
       
    59           'zope.app.zapi',
       
    60       ],
       
    61       entry_points="""
       
    62       # -*- Entry points: -*-
       
    63       """,
       
    64       )
       
    65