mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
test wheel instead of src
This commit is contained in:
parent
f99abaa25f
commit
bf7dfdcc70
2 changed files with 3 additions and 2 deletions
4
makefile
4
makefile
|
|
@ -339,11 +339,13 @@ test:
|
|||
test/ src/;
|
||||
|
||||
# Next we install the package and run the test suite against it.
|
||||
mkdir -p build/test_wheel;
|
||||
$(DEV_ENV_PY) setup.py bdist_wheel --dist-dir build/test_wheel;
|
||||
|
||||
IFS=' ' read -r -a env_paths <<< "$(CONDA_ENV_PATHS)"; \
|
||||
for i in $${!env_paths[@]}; do \
|
||||
env_py=$${env_paths[i]}/bin/python; \
|
||||
$${env_py} -m pip install --upgrade .; \
|
||||
$${env_py} -m pip install --upgrade build/test_wheel/*.whl; \
|
||||
ENV=$${ENV-dev} $${env_py} -m pytest test/; \
|
||||
done;
|
||||
|
||||
|
|
|
|||
1
setup.py
1
setup.py
|
|
@ -56,7 +56,6 @@ setuptools.setup(
|
|||
[console_scripts]
|
||||
pycalver=pycalver.__main__:cli
|
||||
""",
|
||||
python_requires=">=3.6",
|
||||
zip_safe=True,
|
||||
classifiers=[
|
||||
"Development Status :: 4 - Beta",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue