-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use production pkgs from GitHub releases. (#19)
Coaxed `brink.sh` into downloading Python packages from: 1. public SFTPPlus instance for testing OR production packages 2. GitHub releases ONLY for production packages. Drive-by changes: - Always use `curl` in `brink.sh`, works best with GitHub's redirection for releases. - Ditched `get_agent` from `brink.sh`. - Removed code for upgrading from unversioned Python in `brink.sh`. - Show the full download link when not finding a package to download in `brink.sh`. - Use `curl` by default for Pythia too. - Don't use `cd` when uploading Pythia packages, to avoid the need for `allow-read` or `allow-traverse` permission server-side. - Strip Python binaries on Linux too, as stripping is only done when building on macOS. - Also strip all libs on non-Windows platforms. - Remove Python caches and compiled files before packing the dist files.
- Loading branch information
Showing
8 changed files
with
151 additions
and
162 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 |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
/src/*/*.tar.gz | ||
/src/*/*.tgz | ||
/src/*/*.zip | ||
/src/*/*.msi | ||
/src/*/*.exe | ||
/build-pythia/ | ||
/cache/ |
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,6 +1,10 @@ | ||
BASE_REQUIREMENTS='pip==20.2.4 chevah-brink==0.78.1 paver==1.2.4' | ||
PYTHON_CONFIGURATION='[email protected]' | ||
BINARY_DIST_URI='https://binary.chevah.com/production' | ||
PYTHON_CONFIGURATION='[email protected]' | ||
# For production packages there are 2 options: | ||
BINARY_DIST_URI='https://github.com/chevah/pythia/releases/download' | ||
BINARY_DIST_URI='https://bin.chevah.com:20443/production' | ||
# For testing packages, make sure this one is the last uncommented instance: | ||
#BINARY_DIST_URI='https://bin.chevah.com:20443/testing' | ||
PIP_INDEX='https://pypi.chevah.com/simple' | ||
|
||
# There are 2 build directories used in this repo: | ||
|
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
Oops, something went wrong.