mirror of https://github.com/wanadev/yoga.git
Update windows build script and add a README and a license to the dist dir
This commit is contained in:
parent
6623fb0fc3
commit
1b7b14b83d
|
@ -0,0 +1,3 @@
|
||||||
|
LICENSE eol=crlf
|
||||||
|
winbuild/README-windows-dist.md eol=crlf
|
||||||
|
*.bat eol=crlf
|
|
@ -0,0 +1,48 @@
|
||||||
|
# YOGA for Windows
|
||||||
|
|
||||||
|
> YOGA: Yummy Optimizer for Gorgeous Assets
|
||||||
|
|
||||||
|
YOGA is a command-line tool that:
|
||||||
|
|
||||||
|
* converts and optimizes images from various format to JPEG and PNG,
|
||||||
|
* convertq and optimizeq 3D models from various formats to GLB.
|
||||||
|
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
Before using YOGA, you must install Microsoft Visual C++ Redistribuable x64 for
|
||||||
|
Visual Studio 2019. You can download it from the Microsoft's website
|
||||||
|
(`vc_redist.x64.exe`):
|
||||||
|
|
||||||
|
* https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
|
||||||
|
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
YOGA do not need any installation. Just unzip the content of this directory and
|
||||||
|
you are ready to go! :)
|
||||||
|
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
YOGA is a CLI (command line) program. To use it, open a terminal in this folder
|
||||||
|
and just use one of the following command, depending the terminal you are using.
|
||||||
|
|
||||||
|
For CMD.EXE:
|
||||||
|
|
||||||
|
yoga -h
|
||||||
|
|
||||||
|
For Git Bash:
|
||||||
|
|
||||||
|
./yoga.exe -h
|
||||||
|
|
||||||
|
|
||||||
|
## Links
|
||||||
|
|
||||||
|
Project page and source code:
|
||||||
|
|
||||||
|
* https://github.com/wanadev/yoga
|
||||||
|
|
||||||
|
Please report any issue on our bug tracker:
|
||||||
|
|
||||||
|
* https://github.com/wanadev/yoga/issues
|
|
@ -7,6 +7,9 @@ pip install .
|
||||||
pip install nuitka
|
pip install nuitka
|
||||||
|
|
||||||
python -m nuitka --follow-imports --standalone --windows-dependency-tool=pefile winbuild\yogawin.py
|
python -m nuitka --follow-imports --standalone --windows-dependency-tool=pefile winbuild\yogawin.py
|
||||||
|
move yogawin.dist\yogawin.exe yogawin.dist\yoga.exe
|
||||||
|
copy winbuild\README-windows-dist.md yogawin.dist\README.txt
|
||||||
|
copy LICENSE yogawin.dist\LICENSE.txt
|
||||||
|
|
||||||
call __env__\Scripts\deactivate.bat
|
call __env__\Scripts\deactivate.bat
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue