@@ -3,16 +3,16 @@ STEP BY STEP BUILD AND INSTALL
3
3
4
4
1 . Check the C++ compiler version.
5
5
6
- Ensure you have a suitable C++98 or C++11 compiler. On Windows, Visual
7
- Studio 2010 is the minimum supported compiler. On Mac OS X, clang is the
8
- recommended compiler. On Linux, gcc 4.6.1, gcc 4.7.0 , and
9
- clang 3.3-svn have been tested.
6
+ Ensure you have a suitable C++14 compiler. On Windows, Visual
7
+ Studio 2015 is the minimum supported compiler. On Mac OS X, clang is the
8
+ recommended compiler. On Linux, gcc 4.9 and later , and
9
+ clang 3.4 and later have been tested.
10
10
11
11
2 . Get the prerequisites.
12
12
* CMake >= 2.8.11
13
- * Python 2.6, 2. 7, 3.3 , or 3.4
14
- * Cython >= 0.21
15
- * NumPy >= 1.5
13
+ * Python 2.7, 3.4 , or 3.5
14
+ * Cython >= 0.23
15
+ * NumPy >= 1.71
16
16
* git (for cloning the github repositories)
17
17
* Nose (Only for generating xunit .xml output when running tests)
18
18
@@ -49,13 +49,6 @@ to the cmake command.
49
49
50
50
```
51
51
~ $ cd dynd-python
52
- ~/dynd-python $ mkdir build
53
- ~/dynd-python $ cd build
54
- ~/dynd-python/build $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
55
- <...>
56
- ~/dynd-python/build $ make
57
- <...>
58
- ~/dynd-python/build $ cd ..
59
52
~/dynd-python $ python setup.py install
60
53
```
61
54
@@ -89,16 +82,7 @@ For example, to set this up on Windows with MSVC 2013, do:
89
82
90
83
D:\dynd-python\libraries>cd ..
91
84
92
- D:\dynd-python>mkdir build
93
-
94
- D:\dynd-python>cd build
95
-
96
- D:\dynd-python\build>cmake -DDYND_INSTALL_LIB=OFF -G"Visual Studio 12 Win64" ..
97
- -- The C compiler identification is MSVC 18.0.21005.1
98
- <...>
99
-
100
- D:\dynd-python\build>start dynd-python.sln
101
- <launches MSVC>
85
+ D:\dynd-python>python setup.py install
102
86
103
87
```
104
88
@@ -125,8 +109,6 @@ CMake with an argument like "-DCMAKE_BUILD_TYPE=Release".
125
109
126
110
CMAKE_BUILD_TYPE
127
111
Which kind of build, such as Release, RelWithDebInfo, Debug.
128
- PYTHON_PACKAGE_INSTALL_PREFIX
129
- Where the Python module should be installed.
130
112
CMAKE_INSTALL_PREFIX
131
113
The prefix for installing shared libraries such as
132
114
libdynd.so.
0 commit comments