mirror of https://github.com/kivy/kivy.git
Remove remaining nosetest settings in favor of pytest (#8129)
This commit is contained in:
parent
9c712588d7
commit
5c5cb51351
|
@ -1,5 +1,4 @@
|
|||
.coverage
|
||||
.noseids
|
||||
Kivy.egg-info
|
||||
Kivy-*.dist-info
|
||||
*.so
|
||||
|
|
3
Makefile
3
Makefile
|
@ -129,7 +129,6 @@ clean:
|
|||
-rm -rf build
|
||||
-rm -rf htmlcov
|
||||
-rm -f .coverage
|
||||
-rm -f .noseids
|
||||
-rm -rf kivy/tests/build
|
||||
-find kivy -iname '*.so' -exec rm {} \;
|
||||
-find kivy -iname '*.pyd' -exec rm {} \;
|
||||
|
@ -165,7 +164,7 @@ help:
|
|||
@echo " install run a setup.py install"
|
||||
@echo " mesabuild for a build with MesaGL"
|
||||
@echo " style to check Python code for style issues"
|
||||
@echo " test run unittests (nosetests)"
|
||||
@echo " test run unittests (pytest)"
|
||||
@echo " theming create a default theme atlas"
|
||||
@echo " "
|
||||
@echo "You can also 'cd doc && make help' to build more documentation types"
|
||||
|
|
|
@ -341,7 +341,7 @@ if any(name in sys.argv[0] for name in (
|
|||
environ['KIVY_DOC'] = '1'
|
||||
if 'sphinx-build' in sys.argv[0]:
|
||||
environ['KIVY_DOC_INCLUDE'] = '1'
|
||||
if any(('nosetests' in arg or 'pytest' in arg) for arg in sys.argv):
|
||||
if any('pytest' in arg for arg in sys.argv):
|
||||
environ['KIVY_UNITTEST'] = '1'
|
||||
if any('pyinstaller' in arg.lower() for arg in sys.argv):
|
||||
environ['KIVY_PACKAGING'] = '1'
|
||||
|
|
Loading…
Reference in New Issue