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:
20
setup.py
20
setup.py
@@ -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,
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user