-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
SET APP_SCRIPT_PATH=%~dp0 | ||
IF %APP_SCRIPT_PATH:~-1%==\ SET APP_SCRIPT_PATH=%APP_SCRIPT_PATH:~0,-1% | ||
SET PACKAGE_FOLDER=%APP_SCRIPT_PATH%/../geodataflow | ||
|
||
REM =========================================================================== | ||
REM Upload installers | ||
|
||
@echo OFF | ||
FOR /d /r "%PACKAGE_FOLDER%" %%d IN (__pycache__) DO @IF EXIST "%%d" rmdir /s /q "%%d" | ||
@echo OFF | ||
|
||
@echo INFO: Uploading installers | ||
|
||
REM TEST: | ||
REM twine upload -r testpypi "%PACKAGE_FOLDER%/core/dist/*" | ||
REM twine upload -r testpypi "%PACKAGE_FOLDER%/spatial/dist/*" | ||
REM twine upload -r testpypi "%PACKAGE_FOLDER%/dataframes/dist/*" | ||
REM twine upload -r testpypi "%PACKAGE_FOLDER%/api/dist/*" | ||
REM twine upload -r testpypi "%PACKAGE_FOLDER%/all/dist/*" | ||
|
||
twine upload -r pypi "%PACKAGE_FOLDER%/core/dist/*" | ||
twine upload -r pypi "%PACKAGE_FOLDER%/spatial/dist/*" | ||
twine upload -r pypi "%PACKAGE_FOLDER%/dataframes/dist/*" | ||
twine upload -r pypi "%PACKAGE_FOLDER%/api/dist/*" | ||
twine upload -r pypi "%PACKAGE_FOLDER%/all/dist/*" | ||
|
||
REM =========================================================================== |