Project

General

Profile

Windows General Package Requirement » History » Version 20

Anchi Cheng, 10/11/2017 11:48 AM

1 1 Anchi Cheng
h2.  Python and Support Packages (Note that python 2.7 must be used to match window installers of myami modules):
2
3 12 Neil Voss
You should generally be able to use the most recent versions of these packages that are available from their respective web sites.  Just be sure to always get the version that is compatible with Python 2.7.  However, you must use the exact version for numpy.  If you are having trouble with the most recent version, try to use the specific versions we include in http://emg.nysbc.org/projects/leginon/files
4 1 Anchi Cheng
5
{{include(Windows External Package installers)}}
6
7 15 Anchi Cheng
h2. (3.2 and earlier) SVN client used for check out from our repository
8 1 Anchi Cheng
9 2 Anchi Cheng
This is required for following this instruction. We have used Tortois SVN client.  Alternatively, you may copy the required NRAMM source files from another computer.
10 1 Anchi Cheng
11
|_.Name:|_.Download site:|
12
|Tortoise SVN client| "http://tortoisesvn.tigris.org":http://tortoisesvn.tigris.org|
13
14 20 Anchi Cheng
h2. (trunk, beta, 3.3 and up) GIT client used for check out from our repository
15 15 Anchi Cheng
16 16 Anchi Cheng
We have switched to git revision control recently.  If you want to install the newest changes, you need to use the files from git repository.
17 15 Anchi Cheng
18 16 Anchi Cheng
You can clone our repository with
19 15 Anchi Cheng
20
|_.Name:|_.Download site:|
21
|git for Windows| "https://git-for-windows.github.io":https://git-for-windows.github.io|
22
23
* During the installation, select "Checkout as-is, commit as-is" option at the step regarding automated translation of CRLF and LF line endings if you are a developer and may commit changes.
24
* Default is fine with the rest of the options.
25
26 1 Anchi Cheng
h2. Packages from NRAMM
27 6 Anchi Cheng
28 1 Anchi Cheng
Most of the subpackages from NRAMM are obtained through our svn repository.
29 6 Anchi Cheng
30
h3. Check out SVN Source Files from the repository
31
32 13 Neil Voss
Use your mouse to do the following
33 6 Anchi Cheng
* Create a folder at your convenience to gather all download files. Let's call it myami-VERSION where VERSION would corresponds to your check version.  For example, myami-3.1 for 3.1 release
34 11 Anchi Cheng
35 6 Anchi Cheng
* Change directory into myami-VERSION
36
37
* Right-click the mouse botton in this directory window and select Tortoise svn
38
Checkout in the menu:
39
 !http://emg.nysbc.org/software/leginon/images/images/svnmenu.png!
40 7 Anchi Cheng
41 1 Anchi Cheng
* Set up svn checkout window like this but change shaded area according to the version you want and the destination.
42
* We recommend that you put the destination to myami-VERSION\myami so that it is easy to recognize in the future.
43 13 Neil Voss
44 15 Anchi Cheng
Note: the URL has changed to http://emg.nysbc.org/svn/myami/branches/myami-3.2
45 7 Anchi Cheng
46 9 Anchi Cheng
!svn_checkout.png!
47 1 Anchi Cheng
48
See [[Download_Appion_Files|Acquiring NRAMM SVN Repository files]] for different examples and match the repository with what you do on the Linux side.
49 15 Anchi Cheng
50
h3. Cloning git repository after version 3.2.
51
52
We recommend using git bash to do so which gives most freedom in configuration and so that you can use unix syntax.
53 18 Anchi Cheng
* Right Click at the folder where it will contain your clone and choose "Git Bash Here" to start the shell window.
54 15 Anchi Cheng
55 17 Anchi Cheng
* With Windows XP "Git Bash Here" does not appear with right-click.  In this case, you can start git bash from *Start menu/Programs/Git/Git Bash* and move the folder created to where you want it to be.
56 1 Anchi Cheng
57 18 Anchi Cheng
h4. To checkout (called clone in git) the package from NRAMM:
58 17 Anchi Cheng
See [[Download_Appion_Files|Acquiring NRAMM SVN Repository files]] for different examples and match the repository with what you do on the Linux side.
59 6 Anchi Cheng
60
h3. numextension windows installer
61 1 Anchi Cheng
62 14 Neil Voss
Because numextension and would require extra compilers if you build them yourself, we have created Windows installers for them for python 2.7 and made them available at /redmine/projects/leginon/files.
63 1 Anchi Cheng
64 5 Anchi Cheng
h3. These are the current Leginon python 2.7 compiled packages you should install by opening them on Windows.
65 1 Anchi Cheng
66
{{include(Windows Myami Package installers)}}
67 19 Anchi Cheng
68
______
69
70
71
[[Windows_Installation_All|Windows Installation That apply to all instruments >]]
72
73
______