setuptools - How can I find additional files installed with my python package from an included script? -


I have created a python package which is installed with many external files to be able to read those files from those scripts What should be installed with the package I can see that I can use the __ file __ in my script, and it gives something like this:

  / library / Python 2/6 / Site-package / M5-0.3 .0-py2.6.egg / EGG -Info / script / ..   

And so where can I navigate where files were installed ( Top level of the .egg directory), but I'm looking for a more "standard" way to determine where my package is installed.

You probably want to do something like function

this __ The file will be read in the relative resources of __ if your package remains on the disk as a standard Python package directory structure, and I think it will be read as a zipped egg in the form of well (although I Have not used it for yourself).

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -