python: simple example for a python egg with a one-file source file?

Posted by Jason S on Stack Overflow See other posts from Stack Overflow or by Jason S
Published on 2010-05-17T20:16:03Z Indexed on 2010/05/17 20:21 UTC
Read the original article Hit count: 340

Filed under:
|
|

I'm not quite sure how to build a really simple one-file source module. Is there a sample module out there one the web somewhere which can be built as a python .egg?

From the setuptools page it looks pretty simple, you just have your setup.py file and then at least one other .py file somewhere, and I can build an .egg file OK, and even install it using easy_install, but I can't seem to import the file from within python. (note: using 2.6.4)

© Stack Overflow or respective owner

Related posts about python

Related posts about egg