egg

What are the advantages of packaging your python library/application as an .egg file?

I've read some about .egg files and I've noticed them in my lib directory but what are the advantages/disadvantages of using then as a developer? ...

How do I turn a python program into an .egg file?

How do I turn a python program into an .egg file? ...

Fixed point combinators in C++

I'm interested in actual examples of using fixed point combinators (such as the y-combinator in C++. Have you ever used a fixed point combinator with egg or bind in real live code? I found this example in egg a little dense: void egg_example() { using bll::_1; using bll::_2; int r = fix2( bll::ret<int>(...

apache user can not write to .python-eggs

I have read that I need to set the PYTHON_EGG_CACHE environment variable, or install the python library as an uncompressed .egg Which do you suggest? ...

Install MySQLdb (for python) as non-compressed egg

The install instructions are: $ python setup.py build $ sudo python setup.py install # or su first This gives me an .egg file. How do I tell the install to dump the files as a normal, uncompressed library? Thanks! ...

How do I install an .egg file without easy_install in Windows?

I have Python 2.6 and I want to install easy _ install module. The problem is that the only available installation package of easy _ install for Python 2.6 is an .egg file! What should I do? ...

How can I deploy a django appserver as an egg, running behind fastcgi?

I want to run a django appserver behind apache/fastcgi. That's no problem, django does that out of the box. I want this appserver to be deployable via setuptools. That is, I will make it as an egg and install it with easy_install. And that part I can also handle, even though setuptools is not a standard complement to a django appserv...

Easy_install cache downloaded files

Is there a way to configure easy_install to avoid having to download the files again when an installation fails? ...

How can I make a Python extension module packaged as an egg loadable without installing it?

Hi all I'm in the middle of reworking our build scripts to be based upon the wonderful Waf tool (I did use SCons for ages but its just way too slow). Anyway, I've hit the following situation and I cannot find a resolution to it: I have a product that depends on a number of previously built egg files. I'm trying to package the produ...

access eggs in python?

Hello Again I need your wisdom and insight. Is it any way to call an installed python egg from a python code? I need to cal a sphinx documentation generator from within a python code, and currently i'm doing it like this: os.system( "sphinx-build.exe -b html c:\src c:\dst" ) This works, but requires some additional configuration: 'scr...

How to do an interactive git rebase in egg/emacs?

I enjoy using the egg git-front-end in emacs, but I can't figure out how to do an interactive rebase to squash several commits into one. I know how do do in from the command line, but I can't see what egg mark to use (+ . *) and which egg command (r R) to apply. BTW. Is there a way to do git svn rebase and git svn dcommit from within eg...

Do I have any obligations if I upload an egg to the CheeseShop?

Suppose I'd like to upload some eggs on the Cheese Shop. Do I have any obligation? Am I required to provide a license? Am I required to provide tests? Will I have any obligations to the users of this egg ( if any ) ? I haven't really released anything as open source 'till now, and I'd like to know the process. ...

How to include a python .egg library that is in a subdirectory (relative location)?

How do you import python .egg files that are stored in a relative location to the .py code? For example, My Application/ My Application/library1.egg My Application/libs/library2.egg My Application/test.py How do you import and use library1 and library2 from within test.py, while leaving the .egg libraries in-place? ...

How can I make setuptools ignore subversion inventory?

When packaging a Python package with a setup.py that uses the setuptools: from setuptools import setup ... the source distribution created by: python setup.py sdist not only includes, as usual, the files specified in MANIFEST.in, but it also, gratuitously, includes all of the files that Subversion lists as being version controlled ...

How to make easy_install expand a package into directories rather than a single egg file?

How exactly do I configure my setup.py file so that when someone runs easy_install the package gets expanded into \site-packages\ as a directory, rather than remaining inside an egg. The issue I'm encountering is that one of the django apps I've created won't auto-detect if it resides inside an egg. EDIT: For example, if I type easy_in...

How to include and use .eggs/pkg_resources within a project directory targeting python 2.5.1

I have python .egg files that are stored in a relative location to some .py code. The problem is, I am targeting python 2.5.1 computers which require my project be self contained in a folder (hundreds of thousands of OLPC XO 8.2.1 release laptops running Sugar). This means I cannot just ./ez_install to perform a system-wide setuptools/...

How to run Python egg files directly without installing them?

Is it possible to run Python egg files directly as you can run jar files with Java? example: java -jar jar-file ...

I'd like some advice on packaging this as an egg and uploading it to pypi

I wrote some code that I'd like to package as an egg. This is my directory structure: src/ src/tests src/tests/test.py # this has several tests for the movie name parser src/torrent src/torrent/__init__.py src/torrent/movienameparser src/torrent/movienameparser/__init__.py # this contains the code I'd like to package this directory s...

Python egg found interactively but not in fastcgi

In agreement to this question, and its answer. I added the path of the egg and it worked. However, when I run python interactively and I import flup, it works without any problem or additional path specification. Where is the difference ? Edit: It appears that while doing fastcgi stuff, the .pth files are not parsed, but this is only a ...

Choose Python version for egg installation or install parallel versions of site-package

Via fink install I put the following Python version on my Mac OS X computer: python2.3, python2.4, python2.5, python2.6. Further, python is alias for python2.6 on my system. I want to install an egg, e.g. easy_install networkx-0.36-py2.5.egg, where I have to use python 2.5 instead of version 2.6. Is this possible without changing t...