471,330 Members | 1,634 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

where is pkg_resources (setuptools) looking for entry_points.txt

Hi,
I'm trying to use an egg packages (pyOpenGL) as a "normal
package" (by unzipping the egg into a directory).
Generally this seems to work fine, except one init-step is missing.
>From setuptools I got the pkg_resources.py file.
But now the package is not properly initialized, because
iter_entry_points() in pkg_resources does not find the corresponding
entry_points.txt file needed to setup some intial configuration...
(array handlers for pyOpenGL)

Is there a default directory name or an environment variably or maybe
the (ominous? ) __main__.__require variable that I can use to have
the entry_points text read ?

(I would even be willing to "manually" load the entry_points.txt file
and feed it into some pkg_resources related variable to make it happy
[before I import my package] )

Thanks,
Sebastian Haase

Oct 1 '07 #1
0 975

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by limodou | last post: by
1 post views Thread by Ilias Lazaridis | last post: by
1 post views Thread by Thomas W | last post: by
38 posts views Thread by Mark Dickinson | last post: by
17 posts views Thread by Harry George | last post: by
reply views Thread by vedrandekovic | last post: by
reply views Thread by Calvin Spealman | last post: by
7 posts views Thread by Thorsten Kampe | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.