eggs

Python Code Organization Question : Eggs + Packages + Buildout + Unit Tests + SVN

I have several python projects that share common modules. Until now, I've been ... ahem ... keeping multiple copies of the common code and synchronizing by hand. But I'd clearly prefer to do something else. It looks to me now, as if zc.Buildout maybe what I need. I guess that what I should be doing is putting each reusable component of ...

Python packages and egg-info directories

Can someone explain how egg-info directories are tied to their respective modules? For example, I have the following: /usr/local/lib/python2.5/site-packages/quodlibet/ /usr/local/lib/python2.5/site-packages/quodlibet-2.0.egg-info/ I'm assuming the egg-info directory is to make the corresponding module visible to setuptools (easy_insta...

How do I load entry-points for a defined set of eggs with Python setuptools?

I would like to use the entry point functionality in setuptools. There are a number of occasions where I would like to tightly control the list of eggs that are run, and thence the extensions that contribute to a set of entry points: egg integration testing, where I want to run multiple test suites on different combinations of eggs. s...

How do I deactivate an egg?

I've installed cx_Oracle (repeatedly) and I just can't get it to work on my Intel Mac. How do I deactivate/uninstall it? ...

How to tell Buildout to install a egg from a URL (w/o pypi)

I have some egg accessible as a URL, say http://myhosting.com/somepkg.egg . Now I don't have this somepkg listed on pypi. How do I tell buildout to fetch and install it for me. I have tried a few recipes but no luck so far. TIA ...

How to install a module as an egg under IronPython?

Maybe, it is a stupid question but I can't use python eggs with IronPython. I would like to test with IronPython 2.0.2 one module that I've developped. This modules is pure python. It works ok with python 2.6 and is installed as a python egg thanks to setuptools. I thought that the process for installing my module under IronPython was ...

Install python egg in buildout environment including data files

This question assumes that the python package I want to install is a django app that includes templates and media files. But the question is valid for any python package that does not only contain .py files. I'm using buildout to create a re-buildable environment in which I'm developing a django project. My buildout.cfg looks like that:...

Why does easy_install extract some python eggs and not others?

Looking in my /usr/local/lib/python.../dist-package directory, I have .egg directories and .egg files. Why does the installer choose to extra packages to the .egg directory, yet leave other files with .egg extensions? ...

Disadvantage of Python eggs?

Are there any disadvantages about using eggs through easy-install compared to the "traditional" packages/modules/libs? ...

Python: disabling $HOME/.python-eggs?

Is there an easy way to disable Python egg caching? We have the situation where a system account needs to run a python program which imports a module. Since this is a non-login robot account, it does not have a home directory, and dies trying to create the directory /.python-eggs. What's the best way to fix this? Can I convert my egg...

Where is the source code for a Python egg?

I'm attempting to add a video extension to the Python Markdown-2.0.3-py2.7.egg Things aren't working, so I want to use pdb debugger to see what's going on. I can't seem to find the source code to insert pdb. The egg is located here: /usr/local/lib/python2.7/site-packages/Markdown-2.0.3-py2.7.egg Using iPython, I can view the Pyth...