Re: [Distutils] RFC : PEP 376 - egg.info
At 07:34 PM 5/3/2009 +0200, Tarek Ziadé wrote:
2009/5/3 P.J. Eby <pje@telecommunity.com>:
At 12:03 PM 5/3/2009 +0200, Tarek Ziadé wrote:
The name of each file will have to be normalized: all upper case with no extensions.
Any opinions ?
I don't see any point to the normalization.
To avoid different naming conventions like:
PKG-INFO, requires.txt, SOURCES.txt
And the problem with that is...?
However, being able to install arbitrary files in .egg-info is currently supported by setuptools, and that capability is used by e.g. the EggTranslations project.
I would therefore suggest that perhaps the ability to specify file trees for egg-info inclusion would be better,
Are you talking about the directory that is built by egg_info in setuptools ? or something else ?
I mean, do we want to have subdirectories in .egg-info ?
They already exist.
if the goal is to eventually replace setuptools.
The goal is to provide an install_egg_info command that can be configured without the need to replace/override it.
I guess, this can be done by taking part of the code done in setuptools install_egg_info and provide a way for setuptools or another project to add more files through configuration.
setuptools simply copies a pre-built egg-info directory from the source tree, that is built by the "egg_info" command. But people can also put arbitrary files and directories there, besides the contents built by the command itself.
Maybe this straight-forward sentence would work better:
"let's add entry points in Distutils" ?
+1
On Mon, May 4, 2009 at 5:48 PM, P.J. Eby <pje@telecommunity.com> wrote:
I don't see any point to the normalization.
To avoid different naming conventions like:
PKG-INFO, requires.txt, SOURCES.txt
And the problem with that is...?
inconsistency, but right, it makes no sense if any file/dir can be added there. What about SOURCES.txt btw ? What is the reason to add it ?
setuptools simply copies a pre-built egg-info directory from the source tree, that is built by the "egg_info" command. But people can also put arbitrary files and directories there, besides the contents built by the command itself.
Ok
Maybe this straight-forward sentence would work better:
"let's add entry points in Distutils" ?
+1
I think this can be a subpart of this PEP proposal then, -- Tarek Ziadé | http://ziade.org
participants (2)
-
P.J. Eby
-
Tarek Ziadé