Ticket #870 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Add the creation of a MANTIDPATH environment variable to the installer

Reported by: Russell Taylor Owned by: Martyn Gigg
Priority: minor Milestone: Iteration 25
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Mathieu Doucet

Description

And append it to the PATH when installing (and perhaps the PYTHONPATH as well).

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 19 to Iteration 20

Moved as part of the end of Iteration 19

comment:2 Changed 11 years ago by Nick Draper

  • Owner set to Martyn Gigg
  • Status changed from new to assigned
  • Priority changed from major to minor

comment:3 Changed 10 years ago by Martyn Gigg

(In [7070]) Updated RPM and windows installers to create an environmental variable called MANTIDBIN pointing to the installed Mantid binary directory. This directory is also appended to the PATH. Currently trying to figure this out on the Mac. Re #870

comment:4 Changed 10 years ago by Martyn Gigg

  • Status changed from assigned to accepted
  • Component set to Mantid

comment:5 Changed 10 years ago by Russell Taylor

Martyn - I think that your choice to call this MANTIDBIN means that it won't play ball with the changed Mathieu made under ticket #1594, where he called it MANTIDPATH.

comment:6 Changed 10 years ago by Stuart Campbell

What about MANTIDROOT ?

comment:7 Changed 10 years ago by Martyn Gigg

(In [7096]) Added the creation of the MANTIDBIN environmental variable to the MacInstaller. There is now a postflight script that is executed at the end of the install which creates/updates the $HOME/.MacOS/environment.plist file. Re #870

comment:8 Changed 10 years ago by Martyn Gigg

(In [7098]) Refs #870. Altered variable name to be consistent with previous usage in #1594.

comment:9 Changed 10 years ago by Martyn Gigg

So I've changed the name to MANTIDPATH so that it won't impinge on any of Mathieu's existing usage of the variable. I went with MANTIDBIN originally so that it was clear where it was pointing but if things are already using MANTIDPATH then that's fine.

Also, I haven't added it to the PYTHONPATH from a system point of you since PyQt/sip users would see our version rather than one they might be expecting.

comment:10 Changed 10 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:11 Changed 10 years ago by Mathieu Doucet

  • Status changed from verify to verifying
  • Tester set to Mathieu Doucet

comment:12 Changed 10 years ago by Mathieu Doucet

  • Status changed from verifying to closed

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1718

Note: See TracTickets for help on using tickets.