Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions easybuild/scripts/bootstrap_eb.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,8 @@ def main():
self_txt = open(__file__).read()
if IS_PY3:
self_txt = self_txt.encode('utf-8')
info("DEPRECATED: Use of the EasyBuild boostrap script is deprecated and may not work.")
info("Recommended install methods: https://docs.easybuild.io/en/latest/Installation.html\n")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would take this one step further, and abort the bootstrap unless an environment variable like $EASYBUILD_BOOTSTRAP_DEPRECATED is defined, to actively discourage still using it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

info("EasyBuild bootstrap script (version %s, MD5: %s)" % (EB_BOOTSTRAP_VERSION, md5(self_txt).hexdigest()))
info("Found Python %s\n" % '; '.join(sys.version.split('\n')))

Expand Down