electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 61aa19539cb2e0843bbacc91c523ef7833035785
parent 53130da6828de132f5611d8e137cf94b8eda5206
Author: SomberNight <somber.night@protonmail.com>
Date:   Tue, 24 Jul 2018 16:13:49 +0200

some packaging clean-up

Diffstat:
MMANIFEST.in | 13+++++++------
Msetup.py | 21++++-----------------
2 files changed, 11 insertions(+), 23 deletions(-)

diff --git a/MANIFEST.in b/MANIFEST.in @@ -3,15 +3,16 @@ include README.rst include electrum.conf.sample include electrum.desktop include *.py -include electrum +include run_electrum include contrib/requirements/requirements.txt include contrib/requirements/requirements-hw.txt -recursive-include lib *.py -recursive-include gui *.py -recursive-include plugins *.py recursive-include packages *.py recursive-include packages cacert.pem include icons.qrc -recursive-include icons * -recursive-include scripts * +graft icons +graft electrum +prune electrum/tests + +global-exclude __pycache__ +global-exclude *.py[co] diff --git a/setup.py b/setup.py @@ -2,7 +2,7 @@ # python setup.py sdist --format=zip,gztar -from setuptools import setup +from setuptools import setup, find_packages import os import sys import platform @@ -57,28 +57,15 @@ setup( 'electrum.gui', 'electrum.gui.qt', 'electrum.plugins', - 'electrum.plugins.audio_modem', - 'electrum.plugins.cosigner_pool', - 'electrum.plugins.email_requests', - 'electrum.plugins.greenaddress_instant', - 'electrum.plugins.hw_wallet', - 'electrum.plugins.keepkey', - 'electrum.plugins.labels', - 'electrum.plugins.ledger', - 'electrum.plugins.revealer', - 'electrum.plugins.trezor', - 'electrum.plugins.digitalbitbox', - 'electrum.plugins.trustedcoin', - 'electrum.plugins.virtualkeyboard', - ], + ] + [('electrum.plugins.'+pkg) for pkg in find_packages('electrum/plugins')], package_dir={ 'electrum': 'electrum' }, package_data={ '': ['*.txt', '*.json', '*.ttf', '*.otf'], 'electrum': [ - 'electrum/wordlist/*.txt', - 'electrum/locale/*/LC_MESSAGES/electrum.mo', + 'wordlist/*.txt', + 'locale/*/LC_MESSAGES/electrum.mo', ], }, scripts=['electrum/electrum'],