Browse Source

Merge pull request #7145 from SomberNight/202103_sdist_build_package_data

sdist build: let pip install put ~everything from tar.gz to site-packages
patch-4
ghost43 4 years ago
committed by GitHub
parent
commit
6ed19c74a5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      setup.py

15
setup.py

@ -79,17 +79,10 @@ setup(
package_dir={
'electrum': 'electrum'
},
package_data={
'': ['*.txt', '*.json', '*.ttf', '*.otf', '*.csv'],
'electrum': [
'wordlist/*.txt',
'locale/*/LC_MESSAGES/electrum.mo',
'lnwire/*.csv',
],
'electrum.gui': [
'icons/*',
],
},
# Note: MANIFEST.in lists what gets included in the tar.gz, and the
# package_data kwarg lists what gets put in site-packages when pip installing the tar.gz.
# By specifying include_package_data=True, MANIFEST.in becomes responsible for both.
include_package_data=True,
scripts=['electrum/electrum'],
data_files=data_files,
description="Lightweight Bitcoin Wallet",

Loading…
Cancel
Save