-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from hudson-and-thames/release/0.8.1
Release/0.8.1
- Loading branch information
Showing
7 changed files
with
86 additions
and
36 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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
[bumpversion] | ||
current_version = 0.8.0 | ||
commit = True | ||
tag = True | ||
current_version = 0.8.1 | ||
commit = False | ||
tag = False | ||
tag_name = {new_version} | ||
|
||
[bumpversion:file:setup.cfg] | ||
|
||
[bumpversion:file:docs/source/conf.py] | ||
|
||
[bumpversion:file:obfuscate.sh] |
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
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
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,40 @@ | ||
#! | ||
# This script builds, unpacks, obfuscates, and then rebuilds the python wheel | ||
# package | ||
|
||
# Set the version | ||
# TODO: Do this automatically in the future by reading from setup.cfg (or | ||
# similar) | ||
VERSION=0.8.1 | ||
|
||
# Start clean | ||
rm -rf dist/ | ||
|
||
# Build the wheel | ||
python setup.py bdist_wheel | ||
|
||
# Unpack the wheel | ||
python -m wheel unpack dist/arbitragelab-$VERSION-py3-none-any.whl --dest dist/ | ||
|
||
# Generate a PyArmor license | ||
pyarmor-7 licenses c1_version # --expired 2024-02-01 c1_version <-- use this to make license expire | ||
|
||
# Obfuscate using PyArmor | ||
pyarmor-7 obfuscate \ | ||
--with-license licenses/c1_version/license.lic \ | ||
--platform windows.x86_64 \ | ||
--platform linux.x86_64 \ | ||
--platform darwin.x86_64 \ | ||
--platform darwin.aarch64 \ | ||
--platform linux.x86 \ | ||
--obf-code=0 \ | ||
--recursive \ | ||
--output dist/arbitragelab-$VERSION/arbitragelab arbitragelab/__init__.py | ||
|
||
# Repack wheel | ||
python -m wheel pack dist/arbitragelab-$VERSION --dest dist | ||
|
||
# Clean-up | ||
rm -rf dist/arbitragelab-$VERSION | ||
rm -rf build | ||
rm -rf licenses |
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