From 888d1f51c7570cd91ebbe964cf457dc8e0b92693 Mon Sep 17 00:00:00 2001 From: Jorge Ramirez Date: Wed, 27 May 2020 18:38:44 +0200 Subject: [PATCH] Updated create_pip_package.cmd --- scripts/create_pip_package.cmd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/create_pip_package.cmd b/scripts/create_pip_package.cmd index 5c52b0fe..60c0ed6c 100644 --- a/scripts/create_pip_package.cmd +++ b/scripts/create_pip_package.cmd @@ -8,6 +8,7 @@ REM index-servers=pypi REM [pypi] REM repository = https://upload.pypi.org/legacy/ REM username = USERNAME +set BUILDFOLDER=build REM install needed packages first python -m pip install --upgrade pip setuptools wheel @@ -18,10 +19,10 @@ REM remove old stuff rmdir /Q/S RepTate_test.egg-info REM compile package -python setup.py bdist_wheel +python setup.py bdist_wheel --dist-dir %BUILDFOLDER% REM upload to PyPi -python -m twine upload dist/*.whl +python -m twine upload %BUILDFOLDER%/*.whl REM Create conda stuff (to be done...) REM conda install conda-build