setup.py
changeset 29 035058514c2d
parent 28 ec82f750a462
child 43 beb799c08f57
equal deleted inserted replaced
28:ec82f750a462 29:035058514c2d
    18 This module contains ztfy.utils package
    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 DOCS = os.path.join(os.path.dirname(__file__),
       
    24                     'ztfy', 'utils', 'docs')
    24 
    25 
    25 README = os.path.join(os.path.dirname(__file__),
    26 README = os.path.join(DOCS, 'README.txt')
    26           'ztfy',
    27 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
    27           'utils', 'docs', 'README.txt')
       
    28 
    28 
    29 long_description = open(README).read() + '\n\n'
    29 version = '1.0'
       
    30 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
    30 
    31 
    31 tests_require = [
    32 tests_require = [
    32         'zope.testing',
    33     'zope.testing',
    33     ]
    34 ]
    34 
    35 
    35 setup(name='ztfy.utils',
    36 setup(name='ztfy.utils',
    36       version=version,
    37       version=version,
    37       description="ZTFY utility functions and classes for Zope3",
    38       description="ZTFY utility functions and classes for Zope3",
    38       long_description=long_description,
    39       long_description=long_description,
    65       ],
    66       ],
    66       entry_points="""
    67       entry_points="""
    67       # -*- Entry points: -*-
    68       # -*- Entry points: -*-
    68       """,
    69       """,
    69       )
    70       )
    70