tstehr / RecipeMD

Markdown recipe format and cli tool
https://recipemd.org
GNU Lesser General Public License v3.0
53 stars 7 forks source link

Investigate including test files in distribution #32

Closed tstehr closed 3 years ago

tstehr commented 3 years ago

It should be possible to run pip install --install-option test with a distribution. See https://github.com/tstehr/RecipeMD/pull/31#issuecomment-800192343 for more detail.

tstehr commented 3 years ago

@dadada I've looked into this a bit.

As far as I can tell, pip install --install-option test will invoke python setup.py test, which is deprecated (see https://github.com/pypa/setuptools/issues/1684). So I believe this will never work.

Test should always be run either via pytest (against the current python version) or tox (against a set of multiple python versions).

I've set up source distributions to include the testcases directory and and will release this as 4.0.6 later today. Please open a follow-up issue if that doesn't work for you.