File: setup_build_system_windows.txt

package info (click to toggle)
vistrails 3.0~git%2B9dc22bd.dfsg.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 62,856 kB
  • sloc: python: 314,055; xml: 42,697; sql: 4,113; php: 731; sh: 469; makefile: 253
file content (56 lines) | stat: -rw-r--r-- 2,418 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

== Preparing to generate the release ==
Install InnoDB Setup
Download and install the QuickStart Pack of Inno Setup from http://www.jrsoftware.org/isdl.php 

Checkout VisTrails git repository

Download vcredist_x86.exe and vcredist_x64.exe from microsoft.com to "C:\Users\vistrails\".
They will be copied to the final build.

== Custom Builds ==
Inside dist/windows/custom there are scripts for custom builds.

=== GDAL ===
Download the GDAL files from:
32-bit:
http://www.gisinternals.com/sdk/Download.aspx?file=release-1500-gdal-1-9-2-mapserver-6-2-0\gdal-19-1500-core.msi
http://www.gisinternals.com/sdk/Download.aspx?file=release-1500-gdal-1-9-2-mapserver-6-2-0\GDAL-1.9.2.win32-py2.7.msi
Install the first file. 

Install the second file to a custom Python27
installation (I believe it can be any folder on your hard drive). I
copied the installed python files to:
C:\Users\vistrails\extra_packages\gdal\x86\site-packages
I then went to the C:\Program Files (x86)\GDAL folder (created by the first
installer) and copied all the dlls into the osgeo folder inside
C:\Users\vistrails\extra_packages\gdal\x86\site-packages
Compiled all .py files with python -m compileall . inside the
site-packages folder

The script dist/windows/custom/vistrails_gdal.iss will copy the files
in the binary. Just execute Inno Setup as a normal release. It will
create a file called vistrails-gdal-setup.exe into
dist/windows/custom/Output

64-bit:
http://www.gisinternals.com/sdk/Download.aspx?file=release-1500-x64-gdal-1-9-2-mapserver-6-2-0\gdal-19-1500-x64-core.msi
http://www.gisinternals.com/sdk/Download.aspx?file=release-1500-x64-gdal-1-9-2-mapserver-6-2-0\GDAL-1.9.2.win-amd64-py2.7.msi

Install the first file. 

Install the second file to a custom Python27_64
installation (I believe it can be any folder on your hard drive). I
copied the installed python files to:
C:\Users\vistrails\extra_packages\gdal\x64\site-packages
I then went to the C:\Program Files\GDAL folder (created by the first
installer) and copied all the dlls into the osgeo folder inside
C:\Users\vistrails\extra_packages\gdal\x64\site-packages
Compiled all .py files with python -m compileall . inside the
site-packages folder

The script dist/windows/custom/vistrailsx64_gdal.iss will copy the files
in the binary. Just execute Inno Setup as a normal release. It will
create a file called vistrails-x64-gdal-setup.exe into
dist/windows/custom/Output