-
Notifications
You must be signed in to change notification settings - Fork 19
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
Files removed by spin docs --clean
isn't configurable for meson
#156
Comments
docs build --clean
isn't configurable for mesonspin docs --clean
isn't configurable for meson
So, a configuration variable?
|
For the docs build, yes. This is to handle generated docs from autosummary, which in my experience tends to end up in a |
Seems reasonable to me. The expanding config in [tool.spin]
package = 'numpy'
config = '.spin/config.toml' |
We can add the ability to choose config names. Note that a spin-specific config is already supported. |
Another option is a more generic mechanism which allows you to override the default keyword arguments. That way you can send in options that are not supported by flags, but can be specified as function arguments (since spin is just a glorified function caller). |
Ah, I missed that, thanks for pointing it out. It's this one line in the README: Settings are stored in I kinda still like my suggestion: have an "entry point" in Of course, the separate file could also simply be pointed to with a code comment in |
I'd be happy with having it as a configuration option too; whatever is useful :) |
It would be nice to specify more folders to remove here:
spin/spin/cmds/meson.py
Lines 625 to 631 in c32217e
ideally without copy/pasting the command into numpy's spin config.
The text was updated successfully, but these errors were encountered: