[Python-Dev] PEP 427: data directory (original) (raw)
Daniel Holth dholth at gmail.com
Mon Oct 22 22:35:25 CEST 2012
- Previous message: [Python-Dev] PEP 427: data directory
- Next message: [Python-Dev] PEP 427: data directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Oct 22, 2012 at 4:26 PM, Daniel Holth <dholth at gmail.com> wrote:
On Mon, Oct 22, 2012 at 4:20 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
Hello, The FAQ has this weird statement: “This specification does not have an opinion on how you should organize your code. The .data directory is just a place for any files that are not normally installed inside site-packages or on the PYTHONPATH.”
I mean to say that just because there is a .data/ directory it doesn't mean you have to stop using pkgutil.get_data(package, resource). Some people will take those 4 letters "data" to mean that any file that doesn't start with .py has to go there instead of in the root of the archive.
- Previous message: [Python-Dev] PEP 427: data directory
- Next message: [Python-Dev] PEP 427: data directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]