aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authortarek <none@none>2009-11-11 20:40:14 +0100
committertarek <none@none>2009-11-11 20:40:14 +0100
commite589e51c764bda35f353bb32d107364dab97d8ae (patch)
tree7cb86c075a7c2170d5da5c9699df3f704164bb42 /setup.py
parent4072145aebca513ceaa0d25a64cb60d29842b300 (diff)
downloadexternal_python_setuptools-e589e51c764bda35f353bb32d107364dab97d8ae.tar.gz
external_python_setuptools-e589e51c764bda35f353bb32d107364dab97d8ae.tar.bz2
external_python_setuptools-e589e51c764bda35f353bb32d107364dab97d8ae.zip
setup.py doesn't try to convert distribute_setup.py anymore. fixes #87
--HG-- branch : distribute extra : rebase_source : 4378f7defabaadaaa258eb69f07caf17569dd57a
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 9a845c1c..f0457b46 100755
--- a/setup.py
+++ b/setup.py
@@ -14,9 +14,10 @@ if sys.version_info >= (3,):
fl.process_template_line(line)
dir_util.create_tree(tmp_src, fl.files)
outfiles_2to3 = []
+ dist_script = os.path.join("build", "src", "distribute_setup.py")
for f in fl.files:
outf, copied = file_util.copy_file(f, os.path.join(tmp_src, f), update=1)
- if copied and outf.endswith(".py"):
+ if copied and outf.endswith(".py") and outf != dist_script:
outfiles_2to3.append(outf)
if copied and outf.endswith('api_tests.txt'):
# XXX support this in distutils as well