Skip to content

Commit

Permalink
Update build script to clean properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitlog2 committed Jan 24, 2021
1 parent 0287eed commit 656f177
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
$releaseVersion='3.2.4'
$pyVersion='cp39'

# Setup
# Create virtual env if needed
if(!(test-path env))
{
Expand All @@ -11,9 +12,15 @@ if(!(test-path env))

pip install -r requirements.txt

# Clean
Remove-Item -Recurse dist\*
Remove-Item -Recurse public\*

# Build
#pyinstaller --onefile dwt_about.py dwt_util.py dwt.py --icon=main.ico
pyinstaller dwt.spec

# Package
Copy-Item COPYING dist\
Copy-Item COPYING.LESSER dist\
Copy-Item README.md dist\
Expand Down

0 comments on commit 656f177

Please sign in to comment.