Merge pull request #3871 from schmamps/cmdclass
Correct cmdclass for doc: Good Integration Practices
This commit is contained in:
commit
72a58bbafe
|
@ -0,0 +1 @@
|
||||||
|
correct documentation for setuptools integration
|
|
@ -291,7 +291,7 @@ your own setuptools Test command for invoking pytest.
|
||||||
setup(
|
setup(
|
||||||
# ...,
|
# ...,
|
||||||
tests_require=["pytest"],
|
tests_require=["pytest"],
|
||||||
cmdclass={"test": PyTest},
|
cmdclass={"pytest": PyTest},
|
||||||
)
|
)
|
||||||
|
|
||||||
Now if you run::
|
Now if you run::
|
||||||
|
|
Loading…
Reference in New Issue