aboutsummaryrefslogtreecommitdiff
path: root/setuptools/command/setopt.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/setopt.py')
-rw-r--r--[-rwxr-xr-x]setuptools/command/setopt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/setopt.py b/setuptools/command/setopt.py
index 7e57cc0..6358c04 100755..100644
--- a/setuptools/command/setopt.py
+++ b/setuptools/command/setopt.py
@@ -3,8 +3,7 @@ from distutils import log
from distutils.errors import DistutilsOptionError
import distutils
import os
-
-from setuptools.extern.six.moves import configparser
+import configparser
from setuptools import Command
@@ -40,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: