From 2fdeb12fa5c252f2cfe8f7dcc1840bfefc712aa8 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 8 Sep 2021 21:17:56 -0400 Subject: Retain case in setup.cfg during sdist. Fixes #2773. --- setuptools/command/setopt.py | 1 + 1 file changed, 1 insertion(+) (limited to 'setuptools/command') diff --git a/setuptools/command/setopt.py b/setuptools/command/setopt.py index e18057c8..6358c045 100644 --- a/setuptools/command/setopt.py +++ b/setuptools/command/setopt.py @@ -39,6 +39,7 @@ def edit_config(filename, settings, dry_run=False): """ log.debug("Reading configuration from %s", filename) opts = configparser.RawConfigParser() + opts.optionxform = lambda x: x opts.read([filename]) for section, options in settings.items(): if options is None: -- cgit v1.2.1