You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python packaging supports two data inclusion mechanisms, package_data and data_files. Package data is data included inside the Python package, which for us is the top-level module electrumsv. Data files is where you want to install files, which may be inside the package, alongside it or somewhere nearby, in either an external location (/var, /etc, and so on) or relative to the installation directory.
Research results in claims that package_data and data_files are hard to get right, and it is enough and recommended to just ensure the data files are included in the MANIFEST.in file (which the graft electrumsv will do), and instead set include_package_data=True.
The text was updated successfully, but these errors were encountered:
I can never seem to get the egg to include the data files, but the tgz and zip include them. However, since the eggs are deprecated, no more time will be spent on this.
…the data, that running from the github repo clone works, that Windows builds work, and that presumably MacOS builds also work.. and that doing a 'py -3 setup.py install' also works. The install case seems to fail on the data files not being included in the egg, which seems to be used for installs, but then eggs are deprecated, so..
Reported by @SomberNight.
Python packaging supports two data inclusion mechanisms,
package_data
anddata_files
. Package data is data included inside the Python package, which for us is the top-level moduleelectrumsv
. Data files is where you want to install files, which may be inside the package, alongside it or somewhere nearby, in either an external location (/var, /etc, and so on) or relative to the installation directory.Research results in claims that
package_data
anddata_files
are hard to get right, and it is enough and recommended to just ensure the data files are included in theMANIFEST.in
file (which thegraft electrumsv
will do), and instead setinclude_package_data=True
.The text was updated successfully, but these errors were encountered: