setup.py
changeset 28 ec82f750a462
parent 0 712d20d2751e
child 29 035058514c2d
equal deleted inserted replaced
27:5581b89ad027 28:ec82f750a462
     1 # -*- coding: utf-8 -*-
     1 # -*- coding: utf-8 -*-
     2 # Copyright (c) 2008 'Thierry Florac'
     2 # Copyright (c) 2009 'Thierry Florac'
     3 
     3 
     4 # This program is free software; you can redistribute it and/or modify
     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
     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
     6 # the Free Software Foundation; either version 2 of the License, or
     7 # (at your option) any later version.
     7 # (at your option) any later version.
    13 
    13 
    14 # You should have received a copy of the GNU General Public License
    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
    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.
    16 # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    17 """
    17 """
    18 This module contains the tool of ztfy.utils
    18 This module contains ztfy.utils package
    19 """
    19 """
    20 import os
    20 import os
    21 from setuptools import setup, find_packages
    21 from setuptools import setup, find_packages
    22 
    22 
    23 version = '0.1'
    23 version = '0.1'
    35 setup(name='ztfy.utils',
    35 setup(name='ztfy.utils',
    36       version=version,
    36       version=version,
    37       description="ZTFY utility functions and classes for Zope3",
    37       description="ZTFY utility functions and classes for Zope3",
    38       long_description=long_description,
    38       long_description=long_description,
    39       classifiers=[
    39       classifiers=[
       
    40           "License :: OSI Approved :: Zope Public License",
       
    41           "Development Status :: 4 - Beta",
    40           "Programming Language :: Python",
    42           "Programming Language :: Python",
       
    43           "Framework :: Zope3",
    41           "Topic :: Software Development :: Libraries :: Python Modules",
    44           "Topic :: Software Development :: Libraries :: Python Modules",
    42       ],
    45       ],
    43       keywords='ZTFY utilities for Zope3',
    46       keywords='ZTFY utilities for Zope3',
    44       author='Thierry Florac',
    47       author='Thierry Florac',
    45       author_email='tflorac@ulthar.net',
    48       author_email='tflorac@ulthar.net',
    46       url='',
    49       url='',
    47       license='ZPL',
    50       license='ZPL',
    48       packages=find_packages(exclude=['ez_setup']),
    51       packages=find_packages(exclude=['ez_setup']),
    49       namespace_packages=['ztfy'],
    52       namespace_packages=['ztfy'],
    50       include_package_data=True,
    53       include_package_data=True,
       
    54       package_data={'': ['*.zcml', '*.txt', '*.pt', '*.pot', '*.po', '*.mo', '*.png', '*.gif', '*.jpeg', '*.jpg', '*.css', '*.js']},
    51       zip_safe=False,
    55       zip_safe=False,
    52       # uncomment this to be able to run tests with setup.py
    56       # uncomment this to be able to run tests with setup.py
    53       #test_suite = "ztfy.utils.tests.test_utilsdocs.test_suite",
    57       #test_suite = "ztfy.utils.tests.test_utilsdocs.test_suite",
    54       tests_require=tests_require,
    58       tests_require=tests_require,
    55       extras_require=dict(test=tests_require),
    59       extras_require=dict(test=tests_require),
    56       install_requires=[
    60       install_requires=[
    57           'setuptools',
    61           'setuptools',
    58           # -*- Extra requirements: -*-
    62           # -*- Extra requirements: -*-
    59           'zope.app.zapi',
    63           'zope.app.zapi',
       
    64           'zc.set'
    60       ],
    65       ],
    61       entry_points="""
    66       entry_points="""
    62       # -*- Entry points: -*-
    67       # -*- Entry points: -*-
    63       """,
    68       """,
    64       )
    69       )