Commit Graph

42 Commits

Author SHA1 Message Date
SomberNight fc8d14889d update gitignore: .buildozer is now a symlink, not a folder 2022-03-16 17:54:23 +01:00
ThomasV d91a4da557 Add Qt5/QML building framework to contrib/android:
- update requirements file for building PyQt5
 - use separate .buildozer directories for qml and Kivy
 - add GUI and ARCH parameters to android/build.sh
2022-03-08 17:21:31 +01:00
SomberNight 8559d1eb72 build: android reprod: "pip install" needs "--no-build-isolation"
maybe fixes https://github.com/spesmilo/electrum/issues/7640

Looks like by default pip is ignoring the locally available setuptools and wheel,
and downloading the latest ones from the internet at build time...

https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/?highlight=no-build-isolation#disabling-build-isolation
https://stackoverflow.com/a/62889268

> When making build requirements available, pip does so in an isolated environment. That is, pip does not install those requirements into the user’s site-packages, but rather installs them in a temporary directory which it adds to the user’s sys.path for the duration of the build. This ensures that build requirements are handled independently of the user’s runtime environment. For example, a project that needs a recent version of setuptools to build can still be installed, even if the user has an older version installed (and without silently replacing that version).
>
> In certain cases, projects (or redistributors) may have workflows that explicitly manage the build environment. For such workflows, build isolation can be problematic. If this is the case, pip provides a --no-build-isolation flag to disable build isolation. Users supplying this flag are responsible for ensuring the build environment is managed appropriately (including ensuring that all required build dependencies are installed).

If only it were that easy!
If we add the "--no-build-isolation" flag, it becomes our responsibility to install *all* build time deps,
hence we now have "requirements-build-makepackages.txt".
2022-01-22 14:49:35 +01:00
SomberNight 126afebea1 gitignore: slight changes so that it might be reused as dockerignore
This diff should not change what is matched by gitignore
(e.g. `build/` matches `contrib/build-wine/build/`).
I am experimenting with reusing gitignore as dockerignore which uses
slightly different semantics.

related: https://github.com/spesmilo/electrum/pull/7431#discussion_r677541811
2021-09-06 19:04:27 +02:00
ThomasV f49371f5a4 add contrib/build-wine/signed to gitignore 2021-07-19 21:26:36 +02:00
SomberNight 4fd6282f51 mac build: download python from python.org instead of using pyenv 2021-07-16 01:19:56 +02:00
SomberNight 5b627208f1 mac build: build libusb from source
fixes https://github.com/spesmilo/electrum/issues/7393
2021-07-06 19:38:49 +02:00
SomberNight c3e7516dd5 gitignore: exclude appimage fresh_clone 2021-06-21 17:41:31 +02:00
ThomasV 8788b64504 Update release script with APK fresh clone instruction. Add android/fresh_clone to gitignore 2021-06-10 14:30:17 +00:00
SomberNight 3c9346cce2 android build: attempt at reproducible builds 2021-06-09 18:34:09 +02:00
SomberNight ef3293ab6a kivy: relocate atlas so it can be made a submodule later 2021-04-30 16:44:32 +02:00
SomberNight 815cc5a1d8 gitignore: add some macOS specific stuff 2021-03-31 13:52:48 +02:00
SomberNight 239776cb41 gitignore: add some more build artifacts 2020-12-08 17:18:01 +01:00
Luke Childs 872380a525 Add electrum_data to .gitignore (#6092) 2020-04-16 15:49:48 +00:00
SomberNight 23a93ef7ad windows: when running from source, load DLLs from main dir
Load DLLs from inner 'electrum' dir instead of '.dlls'.
To make it consistent with where we expect libsecp256k1 (.dll/.so) be.
(note that while in case of libsecp we specifically already search the main dir,
without this change, other DLLs such as libusb or libzbar would not be found there)
2020-02-11 20:57:34 +01:00
SomberNight e8118e1845 gitignore: add .so/.dll in inner 'electrum' folder 2020-02-11 20:57:30 +01:00
SomberNight 93cee1ba4d windows: when running from source, with py3.8+, load DLLs from '.dlls'
Python 3.8 changed where DLLs are searched for.
see https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew
This potentially affect our binaries when we start shipping python 3.8+, however that is not being addressed here. This commit simply addresses the usecase of running from source, on Windows, using python 3.8.

On older Python, a user could build/obtain DLLs and place them anywhere on the system %PATH%, however this no longer works with py3.8, as %PATH% is no longer checked.
With py3.8, instead, we now check if there is a folder named '.dlls' in the top-level project directory, and if so, register that as an additional search path.
A user who wants to run Electrum from source on Windows using python 3.8 or later, with their custom DLLs, should manually create the '.dlls' folder and put their DLLs there. If they also want to switch between e.g. python 3.7 and 3.8, they should also include '.dlls' in the system %PATH%.

When using Electrum, interesting DLLs include at least libsecp256k1.dll, libusb-1.0.dll, libzbar-0.dll.
2019-12-14 06:44:17 +01:00
SomberNight e3d5475f03 kivy: commit png icons (for svg resources) into repo 2019-09-08 17:05:06 +02:00
MrNaif2018 1dab0aa719 Fix for onchain_history summary building 2019-09-02 16:24:08 +03:00
Janus 9d32031ca2 Kivy: Lightning support in Receive tab 2019-08-20 09:03:11 +02:00
Janus 7db9a22d63 Kivy: open channel dialog 2019-08-20 09:03:11 +02:00
SomberNight baa0293620 android build: persist debug keystore
so that we can upgrade debug installations on the phone and keep the datadir
2019-06-27 07:08:03 +02:00
SomberNight 03c3ba0d36 gitignore: add more build folders 2019-05-09 15:59:47 +02:00
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@bf8802c2ea
2019-02-01 20:15:28 +01:00
SomberNight 15bc097f55 gitignore: update old path 2019-01-28 17:35:52 +01:00
SomberNight 77aefdfe71 gitignore: add kivy atlas 2018-09-06 17:46:50 +02:00
SomberNight 44fbd8330b update gitignore 2018-09-05 18:07:24 +02:00
Janus 097ac144d9 file reorganization with top-level module 2018-07-13 14:01:37 +02:00
Johann Bauer eab5bcf62f Find files to translate automatically 2018-03-09 19:15:05 +01:00
Tim Gabets 0b603f7a70 Added tox temporary files to .gitignore 2017-05-31 13:35:15 +03:00
akshayaurora 900346b89e kivy:Improve startup speed 2016-01-27 20:21:20 +05:30
Neil Booth 21bf5a8a84 Better support for USB devices
Benefits of this rewrite include:

- support of disconnecting / reconnecting a device without having
  to close the wallet, even in a different USB socket
- support of multiple keepkey / trezor devices, both during wallet
  creation and general use
- wallet is watching-only dynamically according to whether the
  associated device is currently plugged in or not
2016-01-02 20:39:29 +09:00
Roman Zeyde 1eccadfc13 travis: use Tox for test automation 2015-07-02 17:25:02 +03:00
Kevin Cooper 8a8dea7390 added env/ to gitignore and fixed an issue with electrum-env to pass command line arguments correctly 2015-02-15 13:00:03 -07:00
Maran fd8a931608 Make where() work with OSX app bundles
MEIPASS is PythonInstaller specific and won't work for py2app

	modified:   lib/util.py
	modified:   .gitignore
	modified:   lib/util.py
	modified:   setup-release.py
2015-01-27 12:32:23 +01:00
Chris Glass a286b18aed Added _trial_temp to .gitignore 2014-06-25 07:25:04 +02:00
Bryan Stitt 8ece295f2e ignore gui/icons_rc.py 2013-11-09 20:17:22 -08:00
Michael Kramlich bc28e7b8fe gitignore: added .devlocaltmp/; convenient place to stash tmp files during dev without going into repo 2013-11-04 20:26:11 -07:00
Michael Kramlich 35be5c76dc gitignore: added a few more build-generated files 2013-11-04 16:34:47 -07:00
Maran dfd48319a3 Fix merge conflict 2013-03-16 21:38:12 +01:00
ErebusBat 211fbe8ec3 Ignore build outputs 2012-08-02 11:02:46 -06:00
ErebusBat 90f9ae8753 Add .gitignore
- Ignore compiled python
 - Patch files
 - lib/icons_rc.py (generated)
2012-08-02 10:46:42 -06:00