From 07be936471d1459a64a755dc90a53121a8ca41e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarek=20Ziad=C3=A9?= Date: Thu, 22 Jul 2010 12:50:05 +0000 Subject: reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. --- config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.py') diff --git a/config.py b/config.py index fe41ce97..5b625f3f 100644 --- a/config.py +++ b/config.py @@ -4,6 +4,7 @@ Provides the PyPIRCCommand class, the base class for the command classes that uses .pypirc in the distutils.command package. """ import os +import sys from configparser import ConfigParser from distutils.cmd import Command @@ -59,6 +60,8 @@ class PyPIRCCommand(Command): if os.path.exists(rc): self.announce('Using PyPI login from %s' % rc) repository = self.repository or self.DEFAULT_REPOSITORY + realm = self.realm or self.DEFAULT_REALM + config = ConfigParser() config.read(rc) sections = config.sections() -- cgit v1.2.1