-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- build.sh will package on Linux systems - win-build.cmd will package on Windows systems with 7zip installed and in the path - install.sh will unpack and install python packages on Linux systems
- Loading branch information
1 parent
5f73eb6
commit d6b6ad3
Showing
4 changed files
with
15 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
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,4 @@ | ||
#!/bin/bash | ||
mkdir pip-packages | ||
pip3 download -r requirements.txt -d ./pip-packages | ||
find . -path '*/.*' -prune -o -type f -print | zip ~/package.zip -@ |
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,3 @@ | ||
#!/bin/bash | ||
pip3 install -r requirements.txt --no-index -f ./pip-packages | ||
find . -name *.py -exec chmod +x {} + |
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,3 @@ | ||
mkdir pip-packages | ||
pip3 download -r requirements.txt -d ./pip-packages | ||
7z a -tzip package.zip -r ./ -xr!*.git* -xr!*.idea -xr!*pycache* -xr!*.zip -xr!diagrams -bb1 |