forked from pyinstaller/pyinstaller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
47 lines (39 loc) · 1.49 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
[sdist]
# For release distribution generate .zip and .tar.gz archives.
formats=gztar,zip,bztar
[zest.releaser]
python-file-with-version = PyInstaller/__init__.py
# This entry point ensures signing of tgz/zip archive before uploading to PYPI.
releaser.before_upload = PyInstaller.utils.release.sign_source_distribution
[catchlog]
# Restrict log-level to DEBUG because py.test cannot handle the volume of
# messages that TRACE produces.
log_level = DEBUG
[tool:pytest]
# Do not put timeout to all tests because it does not play nice with running
# tests in parallel. Rather put timeout to single tests: that are known to
# @pytest.mark.timeout(timeout=0)
# 'thread' timeout method adds more overhead but works in Travis containers.
timeout_method = thread
# Look for tests only in tests directories.
# Later we could change this to just "tests/**/test_*.py"
python_files = "tests/functional/test_*.py" "tests/unit/test_*.py"
# Don't search test-data for test-cases
norecursedirs:
tests/functional/data
tests/functional/logs
tests/functional/modules
tests/functional/scripts
tests/functional/specs
tests/scripts
tests/unit/Tree_files
tests/unit/hookutils_files
tests/unit/test_modulegraph/testdata
tests/unit/test_modulegraph/testpkg-*
# Display summary info for (s)skipped, (X)xpassed, (x)xfailed, (f)failed and (e)errored tests
# Skip doctest text files
# If you want to run just a subset of test use command
#
# py.test -k test_name
#
addopts = "-v" "-rsxXfE" "--doctest-glob="