Enable building from within other setup.py scripts like those in

cx_OracleTools, for example.
This commit is contained in:
Anthony Tuininga 2009-12-05 22:59:34 +00:00
parent 309437003e
commit fc87c1df60
1 changed files with 1 additions and 3 deletions

View File

@ -241,9 +241,7 @@ class bdist_rpm(distutils.command.bdist_rpm.bdist_rpm):
class build(distutils.command.build.build):
def finalize_options(self):
global distutils
global os
global sys
global distutils, os, sys, withUnicode
platSpecifier = ".%s-%s-%s" % \
(distutils.util.get_platform(), sys.version[0:3],
oracleVersion)