mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
210 stars 121 forks source link

Remove MantidNotebook.bat #34388

Closed DanielMurphy22 closed 1 year ago

DanielMurphy22 commented 1 year ago

https://github.com/mantidproject/mantid/issues/34359#issuecomment-1246992328

The mantidpython and notebook are no longer supported on Linux and MacOS. They should be removed from Windows too.

Users are expected to create a conda environment with mantid and notebook (or install notebook onto the python inside mantid.) This docs page should be updated to reflect this: https://docs.mantidproject.org/nightly/concepts/PythonNotebook.html docs updated here: https://github.com/mantidproject/mantid/pull/34450

DanielMurphy22 commented 1 year ago

Considering removing (from this directory https://github.com/mantidproject/mantid/tree/main/buildconfig/CMake/Packaging):

mantidpython.bat.in, (maybe mantidpython.in), AddPythonPath.py.in, deb/scripts and rpm/scripts

I'm also watching the changes here: https://github.com/mantidproject/mantid/pull/34333

DanielMurphy22 commented 1 year ago

Still have "python36-ipython,python36-ipython-notebook" and "jupyter-notebook" in CMakeLists.txt, not sure we need these...

They were related to RPM which I'm removing anyway!

DanielMurphy22 commented 1 year ago

There are a few references to notebook in the the Data Processor Widget, which I think are fine because this just calls the algorithms to create a notebook. It was a challenge, but I found this docs page that I think should be in the dev-docs. It is not linked on the docs/interfaces/index page. https://docs.mantidproject.org/nightly/interfaces/framework/DataProcessorWidget.html

@gemmaguest can we have a quick chat about this? Is this DataProcessorWidget currently used in the Reflectometry interface?

DanielMurphy22 commented 1 year ago

@thomashampson Should I remove all things NSIS packaging related?? https://github.com/mantidproject/mantid/blob/main/buildconfig/CMake/NSIS.template.in https://github.com/mantidproject/mantid/blob/main/buildconfig/CMake/WindowsNSIS.cmake https://github.com/mantidproject/mantid/blob/main/buildconfig/CMake/WindowsNSISQt5.cmake

gemmaguest commented 1 year ago

There are a few references to notebook in the the Data Processor Widget, which I think are fine because this just calls the algorithms to create a notebook. It was a challenge, but I found this docs page that I think should be in the dev-docs. It is not linked on the docs/interfaces/index page. docs.mantidproject.org/nightly/interfaces/framework/DataProcessorWidget.html

@gemmaguest can we have a quick chat about this? Is this DataProcessorWidget currently used in the Reflectometry interface?

No, it is no longer used and I plan to remove the DataProcessorWidget: #33643