Skip to content

Commit

Permalink
Merge pull request #8213 from minrk/disable-install
Browse files Browse the repository at this point in the history
disable install from master
  • Loading branch information
Carreau committed Mar 31, 2015
2 parents d6e249b + 5b38bd7 commit 118e940
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions setup.py
Expand Up @@ -225,6 +225,24 @@ def run(self):
'jsversion' : JavascriptVersion,
}

### Temporarily disable install while it's broken during the big split
from textwrap import dedent
from distutils.command.install import install

class DisabledInstall(install):
def run(self):
msg = dedent("""
While we are in the midst of The Big Split,
IPython cannot be installed from master.
You can use `pip install -e .` for an editable install,
which still works.
""")
print(msg, file=sys.stderr)
raise SystemExit(1)

setup_args['cmdclass']['install'] = DisabledInstall


#---------------------------------------------------------------------------
# Handle scripts, dependencies, and setuptools specific things
#---------------------------------------------------------------------------
Expand Down

0 comments on commit 118e940

Please sign in to comment.