# HG changeset patch # User Thierry Florac # Date 1496322548 -7200 # Node ID 9c54d3792816660d5401301601e806c939c22ace # Parent e89686e172cd0bc0553bc8fad21f44671b829639 Version 0.1.0 diff -r e89686e172cd -r 9c54d3792816 buildout.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/buildout.cfg Thu Jun 01 15:09:08 2017 +0200 @@ -0,0 +1,63 @@ +[buildout] +eggs-directory = /var/local/env/pyams/eggs + +socket-timeout = 3 +show-picked-versions = true +newest = false + +allow-hosts = + bitbucket.org + *.python.org + *.sourceforge.net + github.com + +#extends = http://download.ztfy.org/webapp/ztfy.webapp.dev.cfg +extends = http://download.ztfy.org/pyams/pyams-dev.cfg +versions = versions +newest = false +#allow-picked-versions = false + +src = src +develop = + . + ../pyams_utils + +parts = + package + i18n + pyflakes + test + +[package] +recipe = zc.recipe.egg +eggs = + pyams_cache + pyams_utils + pyramid + zope.component + zope.interface + +[i18n] +recipe = zc.recipe.egg +eggs = + babel + lingua + +[pyflakes] +recipe = zc.recipe.egg +eggs = pyflakes +scripts = pyflakes +entry-points = pyflakes=pyflakes.scripts.pyflakes:main +initialization = if not sys.argv[1:]: sys.argv[1:] = ["${buildout:src}"] + +[pyflakesrun] +recipe = collective.recipe.cmd +on_install = true +cmds = ${buildout:develop}/bin/${pyflakes:scripts} + +[test] +recipe = zc.recipe.testrunner +eggs = pyams_cache [test] + +[versions] +pyams_cache = 0.1.0 diff -r e89686e172cd -r 9c54d3792816 setup.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/setup.py Thu Jun 01 15:09:08 2017 +0200 @@ -0,0 +1,67 @@ +# +# Copyright (c) 2008-2015 Thierry Florac +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# + +""" +This module contains pyams_ package +""" +import os +from setuptools import setup, find_packages + +DOCS = os.path.join(os.path.dirname(__file__), + 'docs') + +README = os.path.join(DOCS, 'README.txt') +HISTORY = os.path.join(DOCS, 'HISTORY.txt') + +version = '0.1.0' +long_description = open(README).read() + '\n\n' + open(HISTORY).read() + +tests_require = [] + +setup(name='pyams_cache', + version=version, + description="PyAMS cache management interfaces and classes", + long_description=long_description, + classifiers=[ + "License :: OSI Approved :: Zope Public License", + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Framework :: Pyramid", + "Topic :: Software Development :: Libraries :: Python Modules", + ], + keywords='Pyramid PyAMS cache', + author='Thierry Florac', + author_email='tflorac@ulthar.net', + url='http://hg.ztfy.org/pyams/pyams_cache', + license='ZPL', + packages=find_packages('src'), + package_dir={'': 'src'}, + namespace_packages=[], + include_package_data=True, + package_data={'': ['*.zcml', '*.txt', '*.pt', '*.pot', '*.po', '*.mo', '*.png', '*.gif', '*.jpeg', '*.jpg', '*.css', '*.js']}, + zip_safe=False, + # uncomment this to be able to run tests with setup.py + test_suite="pyams_cache.tests.test_utilsdocs.test_suite", + tests_require=tests_require, + extras_require=dict(test=tests_require), + install_requires=[ + 'setuptools', + # -*- Extra requirements: -*- + 'pyams_utils', + 'pyramid', + 'zope.component', + 'zope.interface', + ], + entry_points=""" + # -*- Entry points: -*- + """, + ) diff -r e89686e172cd -r 9c54d3792816 src/pyams_cache.egg-info/PKG-INFO --- a/src/pyams_cache.egg-info/PKG-INFO Thu Jun 01 15:08:53 2017 +0200 +++ b/src/pyams_cache.egg-info/PKG-INFO Thu Jun 01 15:09:08 2017 +0200 @@ -6,8 +6,28 @@ Author: Thierry Florac Author-email: tflorac@ulthar.net License: ZPL -Description: +Description: =================== + pyams_cache package + =================== + + .. contents:: + + + What is pyams_cache? + ==================== + pyams_cache is a small set of packages covering PyAMS needs for cache management. + + It just provides a cache handler interface with two implementations for Memcached + and redis, with classic and AsyncIO modes. + + + History + ======= + + 0.1.0 + ----- + - First release Keywords: Pyramid PyAMS cache Platform: UNKNOWN diff -r e89686e172cd -r 9c54d3792816 src/pyams_cache.egg-info/requires.txt --- a/src/pyams_cache.egg-info/requires.txt Thu Jun 01 15:08:53 2017 +0200 +++ b/src/pyams_cache.egg-info/requires.txt Thu Jun 01 15:09:08 2017 +0200 @@ -1,6 +1,6 @@ -setuptools pyams_utils pyramid +setuptools zope.component zope.interface