I need * .egg-info directories when using setuptools / distribute to create a python package

I have a "standard" python package package, for example:

  • setup.py - using setuptools
  • Readme
  • SIC / ModuleA
  • test /

However, when I execute setup.py, it decides to create the src / moduleA.egg-info directory.

The question is, do I have to worry about the contents of this directory and check it with the rest of my code, or do I just rely on setuptools / distribute to restore it? It seems that all the information in the .egg-info directory comes from config to setup.py anyway.

+4
source share
1 answer

Automatically generated bits need not be checked unless you actually extend setuptools as part of the build process.

However, if you put your files in .egg-info (for example, i18n resources for EggTranslations ), then this must be checked, since setuptools, obviously, will not be able to recover them .; -)

+3
source

All Articles