diff options
| author | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-07-22 12:50:05 +0000 |
|---|---|---|
| committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-07-22 12:50:05 +0000 |
| commit | 07be936471d1459a64a755dc90a53121a8ca41e9 (patch) | |
| tree | b0006ca9f93d98c5246224cd42692528e4ee20d4 /config.py | |
| parent | b97dbcf42d529ab4dfb2896cef8c0d53960595d7 (diff) | |
| download | python-setuptools-git-07be936471d1459a64a755dc90a53121a8ca41e9.tar.gz | |
reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen.
Diffstat (limited to 'config.py')
| -rw-r--r-- | config.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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() |
