setup.py
changeset 474 7bb070e90138
equal deleted inserted replaced
-1:000000000000 474:7bb070e90138
       
     1 ### -*- coding: utf-8 -*- ####################################################
       
     2 ##############################################################################
       
     3 #
       
     4 # Copyright (c) 2008-2010 Thierry Florac <tflorac AT ulthar.net>
       
     5 # All Rights Reserved.
       
     6 #
       
     7 # This software is subject to the provisions of the Zope Public License,
       
     8 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
       
     9 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
       
    10 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
       
    11 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
       
    12 # FOR A PARTICULAR PURPOSE.
       
    13 #
       
    14 ##############################################################################
       
    15 
       
    16 """
       
    17 This module contains pyams_skin package
       
    18 """
       
    19 import os
       
    20 from setuptools import setup, find_packages
       
    21 
       
    22 DOCS = os.path.join(os.path.dirname(__file__),
       
    23                     'docs')
       
    24 
       
    25 README = os.path.join(DOCS, 'README.txt')
       
    26 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
       
    27 
       
    28 version = '0.1.28.1'
       
    29 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
       
    30 
       
    31 tests_require = []
       
    32 
       
    33 setup(name='pyams_skin',
       
    34       version=version,
       
    35       description="PyAMS base skin interfaces and classes",
       
    36       long_description=long_description,
       
    37       classifiers=[
       
    38           "License :: OSI Approved :: Zope Public License",
       
    39           "Development Status :: 4 - Beta",
       
    40           "Programming Language :: Python",
       
    41           "Framework :: Pyramid",
       
    42           "Topic :: Software Development :: Libraries :: Python Modules",
       
    43       ],
       
    44       keywords='Pyramid PyAMS skin',
       
    45       author='Thierry Florac',
       
    46       author_email='tflorac@ulthar.net',
       
    47       url='http://hg.ztfy.org/pyams/pyams_skin',
       
    48       license='ZPL',
       
    49       packages=find_packages('src'),
       
    50       package_dir={'': 'src'},
       
    51       namespace_packages=[],
       
    52       include_package_data=True,
       
    53       package_data={'': ['*.zcml', '*.txt', '*.pt', '*.pot', '*.po', '*.mo',
       
    54                          '*.png', '*.gif', '*.jpeg', '*.jpg', '*.css', '*.js']},
       
    55       zip_safe=False,
       
    56       # uncomment this to be able to run tests with setup.py
       
    57       test_suite="pyams_skin.tests.test_utilsdocs.test_suite",
       
    58       tests_require=tests_require,
       
    59       extras_require=dict(test=tests_require),
       
    60       install_requires=[
       
    61           'setuptools',
       
    62           # -*- Extra requirements: -*-
       
    63           'fanstatic',
       
    64           'pyams_file',
       
    65           'pyams_utils >= 0.1.15',
       
    66           'pyams_viewlet',
       
    67           'pyramid',
       
    68           'z3c.form',
       
    69           'z3c.table',
       
    70           'zope.component',
       
    71           'zope.componentvocabulary',
       
    72           'zope.interface',
       
    73           'zope.schema',
       
    74           'zope.traversing'
       
    75       ],
       
    76       entry_points={
       
    77           'fanstatic.libraries': [
       
    78               'pyams_skin = pyams_skin:library'
       
    79           ]
       
    80       })