Commit Graph

38 Commits

Author SHA1 Message Date
Richard Kiss 7906d02990 Simplify `pyinstaller.spec`. Solve `daemon/chia` name collision. 2021-04-06 13:29:41 -07:00
Richard Kiss 8a3e00548a Rename `src` to `chia`. 2021-04-04 21:41:39 -07:00
Gene Hoffman ad7d7e0cce Add missing linux specfile change. Error on pyinstaller failure (#1668)
* Add missing linux specfile change. Error on pyinstaller failure

* Build ARM64 in Ubuntu 18.04 LTS

* It's apt upgrade...

* drop sudo

* install add-apt-repository

* missing -y

* Need python3.8-venv python3.8-distutils too

* python3.8 was not happy

* apt install even... Need curl

* git and others are missing

* need sudo to support sh install.sh

* debug venv

* Emulate install.sh instead

* still needs git...

* Need build essentials for pyinstaller

* pyinstaller needs zlib1g-dev

* need libpython3.8-dev

* don't use -e with pip install
2021-04-03 21:38:10 -07:00
Richard Kiss 986b103aba Use `src.PYINSTALLER_SPEC_PATH` in build scripts. 2021-04-02 19:50:54 -07:00
Richard Kiss ddb92a0690 Spelling fix. 2021-03-24 15:41:53 -07:00
Gene Hoffman 3ca2b59eed Locale extraction and compiling is now part of run build (#1348) 2021-03-17 18:40:45 -07:00
Gene Hoffman 67f5cd5b92
spec file changes (#1266)
* spec file changes

* Clean up installer build process

* revert as PR 1267 is right
2021-03-12 15:19:33 -08:00
Gene Hoffman c35021339f chiapos to 12.45 for harvester multithread fix 2021-02-23 23:20:21 -08:00
Gene Hoffman 6518b2bf42
Changelog for RC2 (#965)
* Changelog for RC2

* Fix win and mac GHA installer versions
2021-02-18 22:34:46 -08:00
Gene Hoffman 0febb5136b
GUI to a separate repo (#859)
* GUI to a separate repo

* correct repo name, codeql to just python

* fetch-depth: 0 is indeed needed

* remove debug ls's

* Switch to a submodule

* update blockchain gitignore

* Return omitted cd to install-gui.sh
2021-02-07 20:39:59 -08:00
Gene Hoffman 19674acefc
Check for secrets on Azure. Fix GH Mac 2021-01-17 20:06:17 -08:00
Gene Hoffman a9287467a8
Correctly handle mac installer build on fork PRs 2021-01-17 19:47:48 -08:00
Gene Hoffman a68773bf18 Try pyinstaller 4.2 2021-01-14 16:26:14 -08:00
Gene Hoffman 27b28d62f6 add locale:extract and locale:fix 2021-01-12 17:02:23 -05:00
Gene Hoffman a0f8fa7938 Throw errors if any step of macos installer build fails 2021-01-12 17:02:22 -05:00
Gene Hoffman bb6cce5cfb Fix bash lint 2021-01-12 17:02:21 -05:00
Gene Hoffman 3dcadd57e5 Notarize MacOS DMG on GHA and Azure - Azure Python to 3.8 (#595)
* Attempt to Notarize .dmg on GHA and Azure

* Add missing env vars

* Better ci mgmt 

* Try Python 3.8 on Mojave

* Fix dmg filename
2021-01-12 17:02:21 -05:00
Gene Hoffman 5895cf238d no gatekeeper 2021-01-12 17:02:21 -05:00
Gene Hoffman 1b66ae2ab8 Fix MacOS signing 2021-01-12 17:02:21 -05:00
Gene Hoffman de38aef744 Try pyinstaller-4.1 (#533) 2021-01-12 17:00:49 -05:00
Yostra b084dcfb28 npm run buil 2021-01-12 17:00:49 -05:00
Gene Hoffman 55a1ad8ed1 shfmt various shell scripts, evaluate grep -c 2021-01-12 17:00:49 -05:00
Gene Hoffman 5263b46b7d error ci on npm run build fail, fix install-timelord.sh on mac, osx-sign 2021-01-12 17:00:49 -05:00
Gene Hoffman 68bffd7158 pyinstaller back to 4.0 - update working spaces 2020-09-14 15:38:55 -07:00
Gene Hoffman 625776bec2 Back to pyinstaller 3.6 2020-09-14 15:38:55 -07:00
Gene Hoffman 5d57cc3942 Customize Electron menus, use aiosqlite fork, chiapos to 0.12.26 (#370)
* Initial check in of new menu creation
* aiosqlite by hash ea281b81
* Fix typo in setup.py
* Get version from build scripts
* Update to Mariano's py36 changes
* Test windows w/o Mariano aiosql
* Changes for electron Win
* Add window menu on Win
* Add wiki, faq, etc
* Use quit - upgrade chiapos to 0.12.26
2020-08-24 16:48:39 -07:00
Gene Hoffman b3ff1c1c51 Lower dev dependencies and sync setup.py to dev-reqs.txt (#298)
* Match requirements-dev to setup.py
* new flake8 create_plots.py, keys.py
* setup-python@v2 - build_macos.sh needs setuptools_scm
* Update setuptools_scm, remove isort, autoflake deps
* Switch upload-pypi-source to ubuntu from macos
2020-07-16 13:05:43 -07:00
Gene Hoffman c3a3fdba1f Integrate GH super linter - fix shell, markdown, python issues (#296)
* Try super-linter
* Fix lint issues, move to separate gh action
* Fix md, shell
* Ignore import-error for python - fix MDs
* Disable standard-js, initial eslint config
* Fix raises, remove prettier for now
* skip pylint no-member check in src/util/byte_types.py line 40
* pyinstaller windows back to INFO
* Disable powershell lint for now.
* Disable css validation temporarily
2020-07-16 13:05:43 -07:00
Gene Hoffman e8bcaa8d3f Set Windows pyinstaller to log level TRACE 2020-07-16 13:05:43 -07:00
Gene Hoffman c758df5bc6 set macos pyinstaller to log level warn for potential ci speedup 2020-07-16 13:05:43 -07:00
Gene Hoffman d04aedd802 Fix node cache on win - remove mac build debug info 2020-07-16 13:05:43 -07:00
Gene Hoffman faa8b12b1c Sign with Chia Apple cert on GHA and add Azure Mojave signing (#277)
* Sign with Chia.net signing key
* Codesign on Azure for Mojave
* correct provisionprofile
* Update changelog - rerun Azure signing
2020-06-08 17:17:48 -07:00
Gene Hoffman 31c1ce1e90 Dynamically create installer versions across all ci's (#274)
* Add installer-version.py and CHIA_INSTALLER_VERSION, move env var
* use setuptools_scm to find version
* Move dmg to final_installer dir
* skip npm in install.sh on ci, windows debug
* azure debug, remove hardcoded paths from winstaller.js
* a win (g) and a prayer
* Only Chia.exe
* SemVer means 0.1.6262...

Co-authored-by: Strahinja Markovic <straya@chia.net>
2020-06-08 17:17:48 -07:00
Gene Hoffman e47747fcaf Durable editbin.exe path on Windows, start to extract installer version global constant (#267)
* remove some debugging in install.sh
* Take 3 w/ Straya spec changes
* Set path to editbin and check - macos env variable?
* Move more version to env vars
* set version back to 0.1.6 in ci runners for now
2020-06-08 17:17:48 -07:00
Yostra 5e81bac95e Code sign MacOS DMG, fix Mac icons, move to asar on mac install (#257)
* osx code signing in ci
* Install node
* asar and icon
2020-06-01 08:56:59 -07:00
Gene Hoffman 1465632a48 Simplify build_windows with pip install --no-index --find-links (#248)
* only pip install chia-blockchain
* pip install from local index
2020-06-01 08:56:59 -07:00
Yostra 86aaeaa292 mac version 2020-06-01 08:56:59 -07:00
Gene Hoffman e55a9fa1e5 Clean up installers (#239)
* Clean up win, mac installers
* Build Catalina DMG on GitHub Actions
* gitignore dmg builds
* Manage mac artifacts
* Correct Mac artifact, temp disable azure pytest
* Re-enable pytest on azure pipeline
2020-06-01 08:56:59 -07:00