[Pkg-mpd-commits] [python-mpd] 258/262: Include tests in sdist

Simon McVittie smcv at debian.org
Sun May 22 18:16:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch upstream
in repository python-mpd.

commit 5c5b318e9d44fd626ec2da0cb5d2fff32b8cd97f
Author: Rodney Lorrimar <dev at rodney.id.au>
Date:   Sat Jan 30 10:08:42 2016 +0000

    Include tests in sdist
---
 .travis.yml            | 2 +-
 test.py => mpd_test.py | 0
 setup.py               | 2 +-
 tox.ini                | 4 ++--
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 43d4ecc..fc3a1b0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,4 +9,4 @@ python:
   - "3.5"
   - "pypy"
 
-script: python test.py
+script: python mpd_test.py
diff --git a/test.py b/mpd_test.py
similarity index 100%
rename from test.py
rename to mpd_test.py
diff --git a/setup.py b/setup.py
index 01f3107..3e6a863 100644
--- a/setup.py
+++ b/setup.py
@@ -61,7 +61,7 @@ setup(
     author_email="jthalheim at gmail.com",
     url="https://github.com/Mic92/python-mpd2",
     download_url="https://github.com/Mic92/python-mpd2/archive/v%s.zip" % VERSION,
-    py_modules=["mpd"],
+    py_modules=["mpd", "mpd_test"],
     classifiers=CLASSIFIERS,
     #license=LICENSE,
     keywords=["mpd"],
diff --git a/tox.ini b/tox.ini
index c832d3b..a62e2f9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,9 +3,9 @@ envlist = py26,py27,py32,py33,py34,py35,pypy
 
 [testenv]
 deps = mock
-commands = python test.py
+commands = python mpd_test.py
 
 [testenv:py26]
 deps = mock
        unittest2
-commands = python test.py
+commands = python mpd_test.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/python-mpd.git



More information about the Pkg-mpd-commits mailing list