setup.py
changeset 0 9c21b8e2ba46
child 2 a44a73ee12f9
equal deleted inserted replaced
-1:000000000000 0:9c21b8e2ba46
       
     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_utils 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.0'
       
    29 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
       
    30 
       
    31 tests_require = []
       
    32 
       
    33 setup(name='pyams_i18n',
       
    34       version=version,
       
    35       description="PyAMS internationalization 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 i18n',
       
    45       author='Thierry Florac',
       
    46       author_email='tflorac@ulthar.net',
       
    47       url='http://hg.ztfy.org/pyams/pyams_i18n',
       
    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', '*.png', '*.gif', '*.jpeg', '*.jpg', '*.css', '*.js']},
       
    54       zip_safe=False,
       
    55       # uncomment this to be able to run tests with setup.py
       
    56       test_suite="pyams_i18n.tests.test_utilsdocs.test_suite",
       
    57       tests_require=tests_require,
       
    58       extras_require=dict(test=tests_require),
       
    59       install_requires=[
       
    60           'setuptools',
       
    61           # -*- Extra requirements: -*-
       
    62           'persistent',
       
    63           'pyams_utils',
       
    64           'pyramid',
       
    65           'zope.component',
       
    66           'zope.container',
       
    67           'zope.interface',
       
    68           'zope.schema',
       
    69           'zope.site',
       
    70       ],
       
    71       entry_points={
       
    72           'fanstatic.libraries': [
       
    73               'pyams_i18n = pyams_i18n:library'
       
    74           ]
       
    75       })