Replies: 2 comments 4 replies
-
Hi @pelson, please note we can only guarantee additional egg-info files on the Regarding the There is no plan for setuptools itself to add custom fields to Footnotes
|
Beta Was this translation helpful? Give feedback.
-
I realised that in the core metadata spec there is In terms of moving that idea forwards though, I met two road blocks:
Does anybody have ideas about the above? And is there something else I'm overlooking in terms of approach? (#3152 looks relevant, but can't figure out the syntax reqd) |
Beta Was this translation helpful? Give feedback.
-
I have a need for custom metadata in a number of my projects (to declare a set of dependencies on Java packages, and have those handled by a common library). The metadata unfortunately doesn't fit as an entry point, but the docs at https://setuptools.pypa.io/en/latest/userguide/extension.html#adding-new-egg-info-files are really interesting in this regard.
In fact, if I follow the guidance in that link, and produce a subsequent package with a build-time dependency on the common library, plus the additional field (
foo_bar
in the example), everything works great. I'm interested to find out more about the longevity of this feature - for example, will it be possible to declare it in pyproject.toml under[tool.setuptools]
at some point? Today, this is not working ("configuration error:tool.setuptools
must not contain {'foo_bar'} properties").Beta Was this translation helpful? Give feedback.
All reactions