Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

Commit

Permalink
Merge pull request #236 from paweljasinski/cp35683
Browse files Browse the repository at this point in the history
removed annoying error during pip install - cp35683
  • Loading branch information
jdhardy committed Dec 1, 2014
2 parents 259adf7 + 89a723b commit e6d4b28
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@ def run_egg_info(self, force_root_egg_info=False):
script = script.replace('__SETUP_PY__', repr(self.setup_py))
script = script.replace('__PKG_NAME__', repr(self.name))
egg_info_cmd = [sys.executable, '-c', script, 'egg_info']
if sys.platform == 'cli':
egg_info_cmd.insert(1, "-X:Frames")

# We can't put the .egg-info files at the root, because then the source code will be mistaken
# for an installed egg, causing problems
if self.editable or force_root_egg_info:
Expand Down Expand Up @@ -677,6 +680,8 @@ def install(self, install_options, global_options=(), root=None):
record_filename = os.path.join(temp_location, 'install-record.txt')
try:
install_args = [sys.executable]
if sys.platform == 'cli':
install_args.append('-X:Frames')
install_args.append('-c')
install_args.append(
"import setuptools, tokenize;__file__=%r;"\
Expand Down

0 comments on commit e6d4b28

Please sign in to comment.