-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package uses non-standard site-package paths for resources #25
Comments
|
@pbenner are the matbench-discovery/matbench_discovery/__init__.py Lines 20 to 23 in 1098aa6
|
The [...]/site-packages/data directory is created when installing the package and it contains the figshare files, because of: matbench-discovery/pyproject.toml Line 76 in 13cbb90
One solution would be to move the data/figshare folder into the matbench_discovery folder. But I guess it would take a few more modifications to turn it into a real python package. For instance, this is not compatible: matbench-discovery/matbench_discovery/__init__.py Lines 13 to 19 in 13cbb90
The ROOT variable points to the [...]/site-package directory. |
@pbenner Sorry this took ages to address. I think I fixed the supporting data directories being created in root-level matbench-discovery/matbench_discovery/__init__.py Lines 15 to 20 in 55ab66b
I opened pypa/setuptools#4186 to either design a less hacky way of implementing this or maybe learn how to better address the underlying issue. |
The package seems to use the following non-standard paths:
Please use pkg_resources for determining package resource paths.
The text was updated successfully, but these errors were encountered: