Ticket #2755 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Bundle Python with the windows install kits

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: blocker Milestone: Iteration 28
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Whitty

Description

Ensure that MantidPlot and MantidScript use out internal version of python instead of anything on the system.

Also include numpy as a standard package.

Look into best ways of obtiaing scipy and matplotlib: easyinstall doesn't work well on 64bit Windows

Change History

comment:1 Changed 10 years ago by Martyn Gigg

(In [10493]) Refs #2755. Create a branch for bundling python so that I can fiddle without (too) much worry.

comment:2 Changed 10 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:3 Changed 10 years ago by Martyn Gigg

(In [10621]) Re #2755. 64-bit libraries for Qt, Python, sip and PyQt

comment:4 Changed 10 years ago by Martyn Gigg

(In [10622]) Refs #2755. A bit of pruning.

comment:5 Changed 9 years ago by Martyn Gigg

(In [10782]) Refs #2755. Copy over the Python installation for developers.

comment:6 Changed 9 years ago by Martyn Gigg

(In [10794]) Some numpy pruning. Re #2755

comment:7 Changed 9 years ago by Martyn Gigg

(In [10795]) Refs #2755. Part merge from trunk of instrument and script changes, step 1.

comment:8 Changed 9 years ago by Martyn Gigg

(In [10796]) Refs #2755. Merge from the trunk.

comment:9 Changed 9 years ago by Martyn Gigg

(In [10797]) Refs #2755. Turns out numpy needed the libraries called testing.

comment:10 Changed 9 years ago by Martyn Gigg

(In [10800]) Refs #2755. Merge from the trunk.

comment:11 Changed 9 years ago by Martyn Gigg

(In [10801]) Refs #2755. Merge from the trunk.

comment:12 Changed 9 years ago by Martyn Gigg

(In [10830]) Refs #2755. Update the Windows installer to layout the bundled python installation.

comment:13 Changed 9 years ago by Martyn Gigg

(In [10837]) Refs #2755. Add (almost all) of the Win32 Python and Qt dependencies.

comment:14 Changed 9 years ago by Martyn Gigg

(In [11012]) Refs #2755. Switch built-in python modules to bytecode versions to avoid multiple copies flying around in the installed versions.

comment:15 Changed 9 years ago by Martyn Gigg

(In [11014]) Refs #2755. Remove non-essential 32-bit PyQt libs

comment:16 Changed 9 years ago by Martyn Gigg

(In [11015]) Refs #2755. Swap the 32-bit built-in python modules for their byte code counterparts.

comment:17 Changed 9 years ago by Martyn Gigg

(In [11017]) Refs #2755. Add 64-bit PyQt debug libs.

comment:18 Changed 9 years ago by Martyn Gigg

(In [11018]) Refs #2755. A few fixes for the installer script to ignore debug libraries when compiling. Also fix the Python CMakeLists file so that all of the necessary files are copied to the build directory.

comment:19 Changed 9 years ago by Martyn Gigg

(In [11022]) Refs Merge from trunk before reintegration. Refs #2755.

comment:20 Changed 9 years ago by Martyn Gigg

(In [11024]) Refs #2755. Merge bundle python changes back to trunk. This now includes our own version of Qt and python in the third party directory.

comment:21 Changed 9 years ago by Martyn Gigg

(In [11026]) Refs #2755. Missed the Qt Designer libs for win32.

comment:22 Changed 9 years ago by Martyn Gigg

(In [11028]) Refs #2755. Missed the Qt plugins libs for win32.

comment:23 Changed 9 years ago by Martyn Gigg

(In [11031]) Refs #2755. Something I changed here before made the tests fail in when run in parallel. This should fix them.

comment:24 Changed 9 years ago by Martyn Gigg

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

comment:25 Changed 9 years ago by Martyn Gigg

(In [11046]) Refs #2755. Fixes for the bundled sip and PyQt distibutions, their paths were wrong. Also updated the generateWxs.py script to remove the existing PyQt4 directory that an old installation would have left around.

comment:26 Changed 9 years ago by Martyn Gigg

(In [11047]) Refs #2755. Remove a debug statement.

comment:27 Changed 9 years ago by Martyn Gigg

(In [11048]) Refs #2755. Add copy option to overwrite exiting file.

comment:28 Changed 9 years ago by Martyn Gigg

(In [11055]) Fix for windows installer. Refs #2755

comment:29 Changed 9 years ago by Michael Whitty

  • Status changed from verify to verifying
  • Tester set to Michael Whitty

comment:30 Changed 9 years ago by Michael Whitty

  • Status changed from verifying to closed

tested both 32 and 64 bit installers. all to the good.

comment:31 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3602

Note: See TracTickets for help on using tickets.