-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_pip.bat
30 lines (25 loc) · 968 Bytes
/
build_pip.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@ echo off
REM HEADER FOR WINDOW SYSTEMS
REM Project: ak-video-analyser Azure Kinect Video Analyser
REM
REM Github repository: https://github.com/juancarlosmiranda/ak_video_analyser
REM Author: Juan Carlos Miranda
REM https://juancarlosmiranda.github.io/
REM https://github.com/juancarlosmiranda/
REM
SET PROJECT_NAME=ak_video_analyser
SET DIST_FOLDER=dist
SET VERSION=0.0.2
ECHO ---------------------
ECHO CREATING PACKAGE
ECHO ---------------------
ECHO PROJECT_NAME=%PROJECT_NAME%
ECHO ---------------------
ECHO INSTALL PACKAGE WITH
ECHO ---------------------
rem https://packaging.python.org/en/latest/tutorials/packaging-projects/
ECHO 'pip install ak_video_analyser-'%VERSION%'-py3-none-any.whl'
python -m build
ECHO 'pip package is OK -- '/%DIST_FOLDER%/ak_video_analyser-%VERSION%'-py3-none-any.whl
ECHO 'UPLOAD FOR TEST PACKAGE USING - twine upload --repository testpypi ./dist/*'
ECHO 'UPLOAD FINAL PACKAGE USING - twine upload ./dist/* --verbose'