forked from JRCSTU/fuefit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
65 lines (50 loc) · 2.01 KB
/
setup.cfg
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
## Python's setup.cfg:
# Created on 5 Aug 2014
#
[build_sphinx]
all_files = 1
build-dir = docs/_build
[aliases]
my_nosetests = nosetests -v --exclude '~scratch.*'
test_failed = my_nosetests
--failed
## Run doctests in main-modules only.
#
doctest_code = my_nosetests
--with-doctest
--doctest-options=+NORMALIZE_WHITESPACE,+ELLIPSIS,+REPORT_NDIFF
--tests=fuefit.processor,fuefit.model,fuefit.pdcalc
## Run doctests in README only.
#
doctest_docs = my_nosetests
--with-doctest
--doctest-options=+NORMALIZE_WHITESPACE,+ELLIPSIS,+REPORT_UDIFF
--tests=README.rst
--doctest-extension=.rst
## Run ALL doctests
#
doctest_all = my_nosetests
--with-doctest
--doctest-options=+NORMALIZE_WHITESPACE,+ELLIPSIS,+REPORT_NDIFF
--tests=fuefit.processor,fuefit.model,fuefit.pdcalc,README.rst
--doctest-extension=.rst
test_code = my_nosetests
test_code_cover = my_nosetests
--with-coverage
--cover-package=fuefit.processor,fuefit.model,fuefit.pdcalc,fuefit.utils
--cover-html
--cover-xml
--cover-min-percentage=80
## Run tests, doctests in *.rst and code-modules, and report coverage.
#
test_all = my_nosetests
--with-doctest
--doctest-options=+NORMALIZE_WHITESPACE,+ELLIPSIS,+REPORT_UDIFF
--doctest-extension=rst
--with-coverage
--cover-package=fuefit.processor,fuefit.model,fuefit.pdcalc,fuefit.utils
--cover-html
--cover-xml
--cover-min-percentage=80
bdist_win32 = bdist_wininst --plat-name=win32
bdist_win64 = bdist_wininst --plat-name=win-amd64