-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect syntax for single-line entries in setup.cfg
-> [options.extras_require] generates invalid METADATA
#2553
Comments
It's probably one of the quirks of the stdlib's configparser module. Not sure if setuptools can do anything about it. |
In the documentation it says I guess the confusion arises from the fact that Given the way |
closed by aad7fde |
I'm not clear just by reading the docs what is the correct way of specifying a single, "complex" dependency (eg with markers, example below).
I'm refering to these lines here: the
METADATA
file being generated contains incorrect information.NOTE: As a workaround, and by looking at the
setuptools
code see here for explanation, changing it into multi-line solves the problem with the metadata. In the example, the following line is being split using;
, which generates invalidMETADATA
:On the other hand, this is correctly parsed as the
\n
overrides the;
, effectively gathering the whole line as a single entry.The docuemntation contains an example including this:
,
be the right thing to use between the sependency and the marker instead of;
?BTW, I'm coming from here:
kivy
python-poetry/poetry#3629The text was updated successfully, but these errors were encountered: