setup.py
changeset 0 747fc65e13e2
child 5 eefb1df54405
equal deleted inserted replaced
-1:000000000000 0:747fc65e13e2
       
     1 from setuptools import setup, find_packages
       
     2 import os
       
     3 
       
     4 DOCS = os.path.join(os.path.dirname(__file__),
       
     5                     'docs')
       
     6 
       
     7 README = os.path.join(DOCS, 'README.txt')
       
     8 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
       
     9 CONTRIBS = os.path.join(DOCS, 'CONTRIBUTORS.txt')
       
    10 
       
    11 version = '0.1.0'
       
    12 long_description = open(README).read() + '\n\n' + \
       
    13                    open(CONTRIBS).read() + '\n\n' + \
       
    14                    open(HISTORY).read()
       
    15 
       
    16 tests_require = [
       
    17     'zope.testing',
       
    18 ]
       
    19 
       
    20 setup(name='ztfy.baseskin',
       
    21       version=version,
       
    22       description="ZTFY base skin package",
       
    23       long_description=long_description,
       
    24       # Get more strings from
       
    25       # http://pypi.python.org/pypi?%3Aaction=list_classifiers
       
    26       classifiers=[
       
    27         "Programming Language :: Python",
       
    28         ],
       
    29       keywords='ZTFY skin',
       
    30       author='Thierry Florac',
       
    31       author_email='tflorac@ulthar.net',
       
    32       url='http://hg.ztfy.org/ztfy.baseskin',
       
    33       license='zpl',
       
    34       packages=find_packages('src'),
       
    35       package_dir={'': 'src'},
       
    36       namespace_packages=['ztfy'],
       
    37       include_package_data=True,
       
    38       package_data={'': ['*.zcml', '*.txt', '*.pt', '*.pot', '*.po', '*.mo', '*.png', '*.gif', '*.jpeg', '*.jpg', '*.css', '*.js']},
       
    39       zip_safe=False,
       
    40       tests_require=tests_require,
       
    41       extras_require=dict(test=tests_require),
       
    42       install_requires=[
       
    43           'setuptools',
       
    44           # -*- Extra requirements: -*-
       
    45           'z3c.form',
       
    46           'z3c.formui',
       
    47           'z3c.jsonrpc',
       
    48           'z3c.layer.pagelet',
       
    49           'zope.component',
       
    50           'zope.i18nmessageid',
       
    51           'zope.interface',
       
    52           'ztfy.base',
       
    53           'ztfy.utils',
       
    54       ],
       
    55       entry_points="""
       
    56       # -*- Entry points: -*-
       
    57       """)