Merge branch 'master' into print-stmt-py3k
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
/dist
|
/dist
|
||||||
/python_memcached.egg-info
|
/python_memcached.egg-info
|
||||||
|
.tox
|
||||||
|
|||||||
13
README.md
13
README.md
@@ -1,6 +1,8 @@
|
|||||||
[](https://travis-ci.org/linsomniac/python-memcached)
|
Status](https://travis-ci.org/linsomniac/python-memcached.svg)](https://travis-ci.org/linsomniac/python-memcached)
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
This software is a 100% Python interface to the memcached memory cache
|
This software is a 100% Python interface to the memcached memory cache
|
||||||
daemon. It is the client side software which allows storing values
|
daemon. It is the client side software which allows storing values
|
||||||
in one or more, possibly remote, memcached servers. Search google for
|
in one or more, possibly remote, memcached servers. Search google for
|
||||||
@@ -17,3 +19,14 @@ Please report issues and submit code changes to the github repository at:
|
|||||||
For changes prior to 2013-03-26, see the old Launchpad repository at:
|
For changes prior to 2013-03-26, see the old Launchpad repository at:
|
||||||
|
|
||||||
Historic issues: https://launchpad.net/python-memcached
|
Historic issues: https://launchpad.net/python-memcached
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
Test patches locally and easily by running tox:
|
||||||
|
|
||||||
|
pip install tox
|
||||||
|
tox -e py27
|
||||||
|
|
||||||
|
Test for style by running tox:
|
||||||
|
|
||||||
|
tox -e pep8
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
TESTS = $(wildcard test_*.py)
|
|
||||||
|
|
||||||
test:
|
|
||||||
@- $(foreach TEST,$(TESTS), \
|
|
||||||
echo === Running test: $(TEST); \
|
|
||||||
python $(TEST); \
|
|
||||||
)
|
|
||||||
26
tox.ini
Normal file
26
tox.ini
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
[tox]
|
||||||
|
minversion = 1.6
|
||||||
|
envlist = py26,py27,py33,pypy,pep8
|
||||||
|
skipsdist = True
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
usedevelop = True
|
||||||
|
# Customize pip command, add -U to force updates.
|
||||||
|
install_command = pip install -U {opts} {packages}
|
||||||
|
deps = nose
|
||||||
|
commands = nosetests {posargs}
|
||||||
|
|
||||||
|
[tox:jenkins]
|
||||||
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
|
[testenv:pep8]
|
||||||
|
deps = hacking
|
||||||
|
commands = flake8
|
||||||
|
|
||||||
|
[testenv:cover]
|
||||||
|
deps = nose
|
||||||
|
coverage
|
||||||
|
commands = nosetests --with-coverage {posargs}
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
exclude = .venv*,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*.egg,.update-venv
|
||||||
Reference in New Issue
Block a user