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