[pytango] 49/122: Add test requirements
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:18:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to tag v9.2.1
in repository pytango.
commit cdb5dbb5a5fc65a6334e7267831933a42e11ca90
Author: Vincent Michel <vincent.michel at maxlab.lu.se>
Date: Mon Oct 10 15:36:35 2016 +0200
Add test requirements
---
pytest.ini | 2 ++
setup.cfg | 3 +++
setup.py | 11 +++++++++++
3 files changed, 16 insertions(+)
diff --git a/pytest.ini b/pytest.ini
new file mode 100644
index 0000000..45e8152
--- /dev/null
+++ b/pytest.ini
@@ -0,0 +1,2 @@
+[pytest]
+addopts = --boxed
diff --git a/setup.cfg b/setup.cfg
index b483aaa..ba685a8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -5,3 +5,6 @@ skip_build=True
skip_build=True
title=PyTango 9
bitmap=doc\logo-medium.bmp
+
+[aliases]
+test=pytest
diff --git a/setup.py b/setup.py
index 13a5958..59c95b2 100644
--- a/setup.py
+++ b/setup.py
@@ -417,6 +417,15 @@ def setup_args():
'six',
]
+ setup_requires = [
+ 'pytest-runner',
+ ]
+
+ tests_require = [
+ 'pytest',
+ 'pytest-xdist',
+ ]
+
package_data = {
'PyTango': [],
}
@@ -523,6 +532,8 @@ def setup_args():
keywords=Release.keywords,
requires=requires,
install_requires=install_requires,
+ setup_requires=setup_requires,
+ tests_require=tests_require,
ext_package='tango',
ext_modules=[pytango_ext],
cmdclass=cmdclass)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git
More information about the debian-science-commits
mailing list