Hi,

What is the recommended way to get access to a data file in my package if
I'm using a wheel? pkg_resources seems like it's mainly useful because eggs
might be used in a zipped form, but for wheels, I'm guaranteed that the
data will be unpacked into a directory structure right? In that case,
should I just use __file__ to manually find the location of the file?

I'm assuming I can still use pkg_resources, but it feels like I'm adding an
unnecessary dependency on setuptools, given that setuptools isn't needed
during installation but only when building the wheel.

Thanks!

Justin
_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to