setup.py
changeset 0 44692d47182f
child 3 fb200c11a230
equal deleted inserted replaced
-1:000000000000 0:44692d47182f
       
     1 ### -*- coding: utf-8 -*- ####################################################
       
     2 ##############################################################################
       
     3 #
       
     4 # Copyright (c) 2008-2015 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_pagelet 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_pagelet',
       
    34       version=version,
       
    35       description="PyAMS pagelet 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 pagelet',
       
    45       author='Thierry Florac',
       
    46       author_email='tflorac@ulthar.net',
       
    47       url='http://hg.ztfy.org/pyams/pyams_pagelet',
       
    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_pagelet.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           'pyams_template',
       
    63           'pyramid',
       
    64           'pyramid_zcml',
       
    65           'zope.component',
       
    66           'zope.configuration',
       
    67           'zope.contentprovider',
       
    68           'zope.interface',
       
    69           'zope.schema',
       
    70       ],
       
    71       entry_points="""
       
    72       # -*- Entry points: -*-
       
    73       """,
       
    74       )