Merge pull request #3871 from schmamps/cmdclass

Correct cmdclass for doc: Good Integration Practices
This commit is contained in:
Bruno Oliveira 2018-08-24 22:09:35 -03:00 committed by GitHub
commit 72a58bbafe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog/3870.doc.rst Normal file
View File

@ -0,0 +1 @@
correct documentation for setuptools integration

View File

@ -291,7 +291,7 @@ your own setuptools Test command for invoking pytest.
setup(
# ...,
tests_require=["pytest"],
cmdclass={"test": PyTest},
cmdclass={"pytest": PyTest},
)
Now if you run::