Changes

Jump to navigation Jump to search
m
__TOC__ == Download preparation ==
This guide should follow [http://www.nmr-relax.com/windows_devel.html Homepage for MS Windows development platform]
# (.exe): wxPython: http://www.lfd.uci.edu/~gohlke/pythonlibs/#wxpython
# (.exe): scons: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scons
# (.zip): [{{minfx homepage}} minfx]: https://gnasourceforge.orgnet/projects/minfx minfx]: http://download.gna.org/minfxfiles/# (.zip): [{{bmrblib homepage}} bmrblib]: https://gnasourceforge.orgnet/projects/bmrblib bmrblib]: http://download.gna.org/bmrblibfiles/
'''take the win32 bit versions.'''
== Install python and necessary packages ==
I recommend to install a python distribution which is packed with several packages already.
=== Winpython ===
You could consider winpython, which includes Ipython, numpy, scipy. matplotlib etc.:<br>
[https://code.google.com/p/winpython Homepage]
For a command window, use the '''WinPython Command Prompt''' found in '''C:\WinPython27\WinPython-32bit-2.7.x''', which fixes path issues for finding python.
==== Trick to set variables in cmd ====
Make a folder '''own''' in '''C:\WinPython27\WinPython-32bit-2.7.x\scripts''' and <br>
copy '''C:\WinPython27\WinPython-32bit-2.7.x\scripts\env.bat''' to '''C:\WinPython27\WinPython-32bit-2.7.x\scripts\own\pyt32.bat'''<br>
</source>
==== Trick to add .bat files to PATH ====
If you have permission to change the Environment Variables in windows, you can add the '''pyt32.bat''' and '''cmdpyt32.bat''' to your path.<br>
Right click Computer -> properties -> Advanced system settings -> Environment Variables -> User variables -> Edit: PATH <br>
</source>
== Install Visual Studio Express 2012 for Windows Desktop ==
[http://msdn.microsoft.com/en-us/library/vstudio/hs24szh9.aspx See versions of VS 2012 here].<br>
Skip all extra packages install. After install, just exit any program, which opened after install.
== Install Subversion checkout of relax =={{historical svn}}
Install a subversion client. For example: http://tortoisesvn.net/
svn://svn.gna.org/svn/relax/trunk relax_trunk
== Build relax ==
Open the '''WinPython Command Prompt''' <br>
Navigate to the SVN checked out relax folder.<br>
scons
=== Modify pyt32.bat ===
Modify '''C:\WinPython27\WinPython-32bit-xxx\scripts\own\pyt32.bat''', and add to end of file
<source lang="powershell">
</source>
==== Tip - shortcut to cmdpyt32.bat ====
Make shortcut to '''C:\WinPython27\WinPython-32bit-xxx\scripts\own\cmdpyt32.bat''', and modify the shortcut. Set
'''Start in:''' %PWD%
You can now copy this shortcut around, which open a command prompt at the current folder, and set the paths correctly.
== Install other software ===== xmgrace - for the plotting results of NMR-relax ===
relax produces xmgrace "'.agr" files for plotting. There exist two ports for xmgrace to windows [http://qtgrace.sourceforge.net/ QtGrace] and [http://sourceforge.net/projects/gracegtk/ GraceGTK].
which should start xmgrace.
=== Python editor ===
A good lightweight editor for windows could [[Pyscripter]]
= TEST INSTALLATION = Test installation =={{caution|After an installation you should really run an [[Installation_test]].}}
== Build manual and API documentation ==
See [[Manual]].
== Trouble shooting = = See also
== See also ==
[[Category:Installation]]
Trusted, Bureaucrats
4,223

edits

Navigation menu