mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Merge pull request #8213 from minrk/disable-install
disable install from master
This commit is contained in:
commit
0b30151c41
18
setup.py
18
setup.py
@ -225,6 +225,24 @@ setup_args['cmdclass'] = {
|
||||
'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
|
||||
#---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user