On 4/28/17 7:12 AM, Antoine Brodin wrote:
> +do-test:
> +     @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER})
> +

Another way to do this using an explicit python version that doesn't
rely on version-suffixed script names (created either by the framework
or provided by upstreams) is:

${PYTHON_CMD} -m nose, OR better

${PYTHON_CMD} ${PYDISTUTILS_SETUP} nosetests

The nosetest command is added to setup.py as a supported argument when
nose is installed
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to