setup.py
changeset 4 440e5d8fae8f
child 13 04764d5bb427
equal deleted inserted replaced
3:c3ff82aa0e29 4:440e5d8fae8f
       
     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.40'
       
    29 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
       
    30 
       
    31 tests_require = []
       
    32 
       
    33 setup(name='myams',
       
    34       version=version,
       
    35       description="MyAMS client framework",
       
    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       ],
       
    65       entry_points={
       
    66           'fanstatic.libraries': [
       
    67               'myams = myams:library'
       
    68           ]
       
    69       })