Skip to content

Commit

Permalink
Updated create_pip_package.cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jorge-ramirez-upm committed May 27, 2020
1 parent b3d9c59 commit 888d1f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/create_pip_package.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 888d1f5

Please sign in to comment.