[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-util] branch master updated: setup.py test invocation is de
From: |
gnunet |
Subject: |
[taler-taler-util] branch master updated: setup.py test invocation is deprecated, using tox is strongly suggested by community standards. switch to tox. Add Makefile for GNU coding standards. |
Date: |
Sun, 15 Dec 2019 12:24:10 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository taler-util.
The following commit(s) were added to refs/heads/master by this push:
new 3148212 setup.py test invocation is deprecated, using tox is strongly
suggested by community standards. switch to tox. Add Makefile for GNU coding
standards.
3148212 is described below
commit 314821247427fad72b606cd7b209ae5ba9782022
Author: ng0 <address@hidden>
AuthorDate: Sun Dec 15 11:23:58 2019 +0000
setup.py test invocation is deprecated, using tox is strongly
suggested by community standards. switch to tox. Add Makefile
for GNU coding standards.
---
.gitignore | 1 +
Makefile | 2 ++
README | 9 +++++----
setup.py | 7 -------
tox.ini | 8 ++++++++
5 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/.gitignore b/.gitignore
index ac3cc25..33f3a08 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
*.egg-info
*.egg*
+.tox/
build/
dist/
*~
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a9f9939
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,2 @@
+test:
+ tox-3.7 || tox3.7 || tox || echo "error: you have to install tox"
diff --git a/README b/README
index 816b975..5722032 100644
--- a/README
+++ b/README
@@ -3,12 +3,13 @@ taler-util
util code for the GNU Taler project.
-legal
------
-Modules contained in this package are licensed LGPL 3 (or later).
+License
+-------
+
+Python modules contained in this package are licensed LGPL 3 (or later).
tests
-----
To run the unittests, execute
- python3.7 setup.py tests
+ python3.7 setup.py test
diff --git a/setup.py b/setup.py
index 438f314..a45636c 100644
--- a/setup.py
+++ b/setup.py
@@ -3,11 +3,6 @@ from setuptools import setup, find_packages
with open('README', 'r') as f:
long_description = f.read()
-test_dependencies = [
- 'mock',
- 'future',
- ]
-
setup(
name='taler-util',
version='0.6.0rc2',
@@ -27,6 +22,4 @@ setup(
'Operating System :: OS Independent',
],
python_requires='>=3.7',
- test_suite='tests',
- tests_require=test_dependencies,
)
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..267f9f9
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,8 @@
+[tox]
+envlist = py37
+[testenv]
+changedir = tests
+deps = mock
+ future
+ pytest
+commands = pytest
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-util] branch master updated: setup.py test invocation is deprecated, using tox is strongly suggested by community standards. switch to tox. Add Makefile for GNU coding standards.,
gnunet <=