File: enable-build-time-testing.patch

package info (click to toggle)
python-pbcore 1.2.11%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 18,612 kB
  • ctags: 5,336
  • sloc: python: 22,160; xml: 2,667; makefile: 239
file content (25 lines) | stat: -rw-r--r-- 891 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Modify setuptools configuration to use nosetests
 Configure nose setuptools configuration as described in
 https://nose.readthedocs.org/en/latest/setuptools_integration.html
 and the manpage for the executable
Author: Afif Elghraoui <afif@ghraoui.name>
Forwarded: not-needed
Last-Update: 2015-08-06
--- python-pbcore.orig/setup.cfg
+++ python-pbcore/setup.cfg
@@ -1,2 +1,5 @@
 [metadata]
 description-file = README.md
+[nosetests]
+verbosity=2
+where=tests
--- python-pbcore.orig/setup.py
+++ python-pbcore/setup.py
@@ -49,6 +49,7 @@
                                'data/datasets/yieldtest/*.*']
                                },
     zip_safe = False,
+    test_suite = 'nose.collector',
     entry_points = { "console_scripts" : [ ".open = pbcore.io.opener:entryPoint" ] },
     scripts=['bin/dataset.py'],
     install_requires=_get_local_requirements(_REQUIREMENTS_FILE),