setup.py
changeset 99 b2be9a32f3fc
child 104 942151432421
equal deleted inserted replaced
-1:000000000000 99:b2be9a32f3fc
       
     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 ser guide
       
    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     'pyramid_zcml',
       
    33     'zc.lockfile'
       
    34 ]
       
    35 
       
    36 setup(name='pyams_user_guide',
       
    37       version=version,
       
    38       description="PyAMS user guide",
       
    39       long_description=long_description,
       
    40       classifiers=[
       
    41           "License :: OSI Approved :: Zope Public License",
       
    42           "Development Status :: 4 - Beta",
       
    43           "Programming Language :: Python",
       
    44           "Framework :: Zope3",
       
    45           "Topic :: Software Development :: Libraries :: Python Modules",
       
    46       ],
       
    47       keywords='Pyramid PyAMS utilities',
       
    48       author='Thierry Florac',
       
    49       author_email='tflorac@ulthar.net',
       
    50       url='http://www.ztfy.org',
       
    51       license='ZPL',
       
    52       packages=find_packages('src'),
       
    53       package_dir={'': 'src'},
       
    54       namespace_packages=[],
       
    55       include_package_data=True,
       
    56       package_data={'': ['*.zcml', '*.txt', '*.pt', '*.pot', '*.po', '*.mo',
       
    57                          '*.png', '*.gif', '*.jpeg', '*.jpg', '*.css', '*.js']},
       
    58       zip_safe=False,
       
    59       # uncomment this to be able to run tests with setup.py
       
    60       test_suite="pyams_utils.tests.test_utilsdocs.test_suite",
       
    61       tests_require=tests_require,
       
    62       extras_require=dict(test=tests_require),
       
    63       install_requires=[
       
    64           'setuptools',
       
    65           'repoze.lru',
       
    66           'repoze.sphinx.autointerface',
       
    67           'sphinx_rtd_theme',
       
    68           # -*- Extra requirements: -*-
       
    69       ],
       
    70       entry_points={})