1
0

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
This commit is contained in:
SomberNight
2019-02-01 19:01:21 +01:00
parent 3ad6f738bd
commit 16bac5fd73
38 changed files with 109 additions and 216 deletions

View File

@@ -58,23 +58,6 @@ extras_require = {
extras_require['full'] = [pkg for sublist in list(extras_require.values()) for pkg in sublist]
class CustomInstallCommand(install):
def run(self):
install.run(self)
# potentially build Qt icons file
try:
import PyQt5
except ImportError:
pass
else:
try:
path = os.path.join(self.install_lib, "electrum/gui/qt/icons_rc.py")
if not os.path.exists(path):
subprocess.call(["pyrcc5", "icons.qrc", "-o", path])
except Exception as e:
print('Warning: building icons file failed with {}'.format(repr(e)))
setup(
name="Electrum",
version=version.ELECTRUM_VERSION,
@@ -105,7 +88,4 @@ setup(
license="MIT Licence",
url="https://electrum.org",
long_description="""Lightweight Bitcoin Wallet""",
cmdclass={
'install': CustomInstallCommand,
},
)