SomberNight
c23fca37d4
build: clarify which locale files are included
related: 2cb4e56be3
4 years ago
SomberNight
eaffced6dd
binaries: bump python version
4 years ago
SomberNight
19f806ddf4
build: don't allow setuptools to sneakily install build-time deps
see https://pip.pypa.io/en/stable/reference/pip_install/#controlling-setup-requires
> Setuptools offers the setup_requires setup() keyword for specifying
> dependencies that need to be present in order for the setup.py
> script to run. Internally, Setuptools uses easy_install to
> fulfill these dependencies.
> pip has no way to control how these dependencies are located.
> None of the package index options have an effect.
With these changes, we will now instead hard fail if this were to happen.
related: https://github.com/spesmilo/electrum/issues/5859#issuecomment-743621898
4 years ago
SomberNight
756d2eb004
mac build: call `git describe` after `git submodule update`
otherwise it could be that `git describe` will say "dirty" but the binary
will not actually be dirty as it just needed `git submodule update`
4 years ago
SomberNight
7ac968b406
mac build: use a virtualenv instead of global python packages
This helps to avoid older versions of pip-installed dependencies interfering with the build.
4 years ago
SomberNight
77f75f102b
mac build: bundle old PyQt5 so that .app runs on macOS 11 "Big Sur"
This is the time of the year Apple breaks our mac builds, as usual.
mac now has its own "binaries" requirements. This allows us to use
an older version of PyQt5 in the mac binaries. For some reason
if we bundle newer PyQt5, the built app will not start on macOS 11
(but will on older macOS).
related: #6461
in particular, see https://github.com/spesmilo/electrum/issues/6461#issuecomment-713888921
4 years ago
SomberNight
a4e342ac58
requirements: rename some files
4 years ago
SomberNight
4f46741c52
binaries: bump python version (3.7.7->3.7.9)
4 years ago
SomberNight
15d72705ad
mac build: add camera permission to entitlements.plist
based on 0b5b5fb228
5 years ago
SomberNight
75cdae0e5b
mac build: try to improve .app startup time on MacOS 10.15
Create a pyinstaller "onedir" executable instead of a "onefile" executable.
Note that the name change from "Electrum" to "run_electrum" affects the
name of the internal binary (usually not exposed to users). This is
needed to avoid a collision with the "electrum" folder inside the .app
(just like in the source tree).
based on 03c3eca856
maybe fixes #6225
5 years ago
SomberNight
0b5d9185ff
osx.spec: trivial formatting
5 years ago
SomberNight
aa1fb9d5df
win/mac binaries: rm jsonrpc* dependencies
5 years ago
SomberNight
aac770404f
mac build: pin hashes of more build dependencies
namely pyinstaller
5 years ago
SomberNight
d9b4270035
mac build: bump libusb version
5 years ago
SomberNight
7143e9199f
binaries: bump python version (3.7.6->3.7.7)
5 years ago
SomberNight
095464b620
mac build: conform to macOS 10.15 Gatekeeper requirements
fixes #6128
some of this is based on:
e1354632d2/scripts/package/macos-notarize-app.sh
1eb8b71e7d
24e44e9784
5abec73eee
5 years ago
SomberNight
04dcfe6fd1
bitbox02: add to requirements-hw, and include in win/mac binaries
5 years ago
SomberNight
e5b1596b69
build: add workaround for "pyinstaller with new setuptools" issue
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 13, in <module>
File "c:\python3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "site-packages\pkg_resources\__init__.py", line 86, in <module>
ModuleNotFoundError: No module named 'pkg_resources.py2_warn'
[7048] Failed to execute script pyi_rth_pkgres
5 years ago
SomberNight
f412420892
include lnwire csv files in binaries (follow-up #6050 )
5 years ago
SomberNight
7f8d667e85
Revert "qt/hww: temporarily bundle our own version of safetlib.qt.pinmatrix"
This reverts commit 7f3de8241c
.
(can finally undo this due to bb94712a14
)
5 years ago
SomberNight
5b84e714f2
build: workaround for 'realpath' missing on macOS
5 years ago
SomberNight
4cec098d2d
build: create a standalone build script for libsecp256k1
heavily based on Electron-Cash/Electron-Cash@eda015908e9d6ea9a0adfbda9db55b929c0926ba
5 years ago
SomberNight
c7a21220d5
mac build: bump pyinstaller version
5 years ago
SomberNight
0edd291efe
mac build: bump python version (3.6.4->3.7.6)
5 years ago
SomberNight
7c090f92ce
binaries: use "--no-dependencies" option for pip install
All (incl indirect) dependencies are already listed in deterministic-build/requirements*.txt.
This option makes it easier to manually rm a dependency from that list for e.g. testing.
5 years ago
SomberNight
936d1e0a24
pyinstaller binaries: include files needed by new jsonrpc libs
fixes #5599
5 years ago
SomberNight
ab95eff5aa
build: update pyinstaller to 3.5
6 years ago
SomberNight
1518c7d133
build macOS README: mention how Qt affects min supported macOS version
6 years ago
SomberNight
f1516d60ec
mac build: fix locale in binaries
6 years ago
SomberNight
7bf6786bf5
build: note whether binary is reproducible in each case
6 years ago
SomberNight
63e5119ceb
builds: parallelise "make" by setting "-j4"
6 years ago
SomberNight
df8e2c3cc2
fix Revealer in binaries
fixes #5027
6 years ago
SomberNight
699562c78d
bump libsecp256k1 version
6 years ago
SomberNight
89bb49e117
mac build: install pinned pip and setuptools earlier
also add --no-use-pep517 option for pyinstaller (see 4b560250a6
)
6 years ago
SomberNight
2c71b9da0c
icons: instead of symlinks, just mv "icons" dir
symlinks are really inconvenient on Windows
(when running from cloned source)
follow-up #5055
6 years ago
SomberNight
a5ddb42bfd
win/mac binaries: fix qt icons
follow-up #5055
6 years ago
SomberNight
47b07f19b9
build: factor out some utilities to build_tools_util.sh
6 years ago
SomberNight
add3b36f32
build: replace remaining "python setup.py install" with "pip install"
6 years ago
SomberNight
16bac5fd73
rm qt icons file
so we don't need pyrcc5, which is not deterministic,
and so we don't need the submodule for the icons
based on electrumsv/electrumsv@bf8802c2eaf0bf75565b5423a95bcb85ec7eb781
6 years ago
SomberNight
7f3de8241c
qt/hww: temporarily bundle our own version of safetlib.qt.pinmatrix
until safetlib releases a new version that includes b1eab3dba4
closes #4960
6 years ago
SomberNight
3ca1b710d6
build: use sha256sum instead of md5sum
6 years ago
Calin Culianu
5ec330680e
[MacOS] Fixed code signing on macos to codesign all embdedded binaries
This was pulled from Electron Cash #1110
6 years ago
ThomasV
df15571b82
osx build: revert to python 3.6.4
6 years ago
ThomasV
383b517405
update submodule (follow-up prev commit)
6 years ago
ThomasV
b2d635060c
update submodule
6 years ago
SomberNight
bec1860197
mac build: build qr scanner on separate machine
6 years ago
SomberNight
f54c387172
mac build: bump python version
6 years ago
SomberNight
f160f4bf67
mac build: use old xcode to build qr scanner on El Capitan
6 years ago
ghost43
f59a4f85db
win/mac build: strip parts of pyqt5 from binaries to reduce size ( #4901 )
When bumping pyinstaller to 3.4, binary sizes had increased drastically.
The main reason seems to be that pyinstaller is pulling in "all" of qt.
based on Electron-Cash/Electron-Cash@4b0996959420dfca3d53f178d86205616d8c568b
6 years ago
ThomasV
f4513c12eb
follow-up
6 years ago