Skip to content
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

Provide a way to access a resource filename #46

Closed
dingens opened this issue May 24, 2010 · 2 comments
Closed

Provide a way to access a resource filename #46

dingens opened this issue May 24, 2010 · 2 comments

Comments

@dingens
Copy link
Contributor

dingens commented May 24, 2010

There is open_resource, but sometimes one does not need an open file but the filename.

I've thought of something like this: http://paste.pocoo.org/show/217837/

@mitsuhiko
Copy link
Contributor

The resource folder is not supposed to be used for application data like databases. Furthermore resource_filename does not work for Zip file which means that you can fall back to root_folder in all situations anyways except for those where resource_filename of pkg_resources is doing scary things anyways.

--> wontfix

@dingens
Copy link
Contributor Author

dingens commented Jun 5, 2010

I just thought about this to be used for development, not in production. But the zip concern is a valid one (and as there is configuration support now that it's easy to specify a dev db.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants