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
{{ message }}
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.
The package_data dict passed to setup() in nupic's setup.py may be superfluous. In PR #2617, my code is loading a .json file from "nupic/frameworks/opf/common_models/anomaly_params_random_encoder/". This json file is covered by the rule recursive-include src/nupic *.capnp *.json *.tpl *.txt *.xml in nupic's MANIFEST.in, but not covered by any rule in package_data. Despite this omission from package_data, all tests passed, and I verified that the tar.gz file generatred by a local setup.py sdist build includes that .json file.
The text was updated successfully, but these errors were encountered:
If you do supply your own MANIFEST, you must specify everything: the default set of files described above does not apply in this case.
I interpret that to mean that if you use MANIFEST.in (which we do), then it doesn't matter what is in package_data. The files need to be added in MANIFEST.in. In which case, we can remove package_data from setup.py.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
package_data
dict passed tosetup()
in nupic's setup.py may be superfluous. In PR #2617, my code is loading a .json file from "nupic/frameworks/opf/common_models/anomaly_params_random_encoder/". This json file is covered by the rulerecursive-include src/nupic *.capnp *.json *.tpl *.txt *.xml
in nupic's MANIFEST.in, but not covered by any rule inpackage_data
. Despite this omission frompackage_data
, all tests passed, and I verified that the tar.gz file generatred by a localsetup.py sdist
build includes that .json file.The text was updated successfully, but these errors were encountered: