[py-svn] commit/pytest-codecheckers: RonnyPfannschmidt: add tox envs, fixes
Bitbucket
commits-noreply at bitbucket.org
Wed Jun 20 23:26:49 CEST 2012
1 new commit in pytest-codecheckers:
https://bitbucket.org/RonnyPfannschmidt/pytest-codecheckers/changeset/d40bf6cb8f5b/
changeset: d40bf6cb8f5b
user: RonnyPfannschmidt
date: 2012-06-20 23:26:38
summary: add tox envs, fixes
affected #: 2 files
diff -r da2f2f4b7d93205727b2dda050a02e15a9834e0b -r d40bf6cb8f5b3b832755cdfa5b94622529696140 setup.py
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,8 @@
Usage
---------
-after installation (e.g. via ``pip install pytest-codecheckers``) you can type::
+after installation (e.g. via ``pip install pytest-codecheckers``)
+you can type::
py.test [path/to/mypkg]
@@ -14,10 +15,9 @@
.. _`pytest-dev`: http://codespeak.net/mailman/listinfo/py-dev
"""
from setuptools import setup
-from hgdistver import get_version
setup(
name='pytest-codecheckers',
- description='pytest plugin to add source code sanity checks (pep8 and friends)',
+ description='pytest plugin to add source code sanity checks',
long_description=__doc__,
get_version_from_scm=True,
author='Ronny Pfannschmidt',
@@ -25,20 +25,20 @@
url='http://bitbucket.org/RonnyPfannschmidt/pytest-codecheckers/',
packages=[
'codecheckers',
- ],
+ ],
entry_points={
'pytest11': [
'codechecker = codecheckers.plugin',
- ],
+ ],
'codechecker': [
'pep8 = codecheckers.pep',
'pyflakes = codecheckers.flakes',
- ],
- },
+ ],
+ },
install_requires=[
'pytest>=2.0',
'pyflakes>=0.4',
'pep8',
- ],
+ ],
setup_requires=['hgdistver'],
- )
+)
diff -r da2f2f4b7d93205727b2dda050a02e15a9834e0b -r d40bf6cb8f5b3b832755cdfa5b94622529696140 tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,7 @@
[pytest]
codechecks = pep8 pyflakes
[tox]
+envlist= py26,py27,py32
indexserver =
default = http://pypi.testrun.org
pypi = http://pypi.python.org/simple
Repository URL: https://bitbucket.org/RonnyPfannschmidt/pytest-codecheckers/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list