Skip to content Skip to sidebar Skip to footer

Why Is An Egg-info File Created When I'm Using Distutils?

Below is my setup.py. I don't use anything from setuptools in my code and my project has no external dependencies #!/usr/bin/env python from distutils.core import setup setup(nam

Solution 1:

There was discussion about adding setuptools to the stdlib for Python 2.5, and then about adding only pkg_resource (one part of setuptools). Various reasons made that not happen. The core devs recognized that setuptools was an important third-party tool, and accepted a change to make projects installed with a pure-distutils setup.py write this egg-info file, to enable setuptools and tools built on top of it to know that these projects are already installed.

Changeset: http://hg.python.org/cpython/rev/93344da76acd

Ticket: http://bugs.python.org/issue1459476

(I haven’t checked the dates of the 2.5 discussions about setuptools, so my first sentences may be wrong. The rationale is still valid, see the ticket.)


Post a Comment for "Why Is An Egg-info File Created When I'm Using Distutils?"