Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 61 lines (44 sloc) 1.156 kb
882dcec @hanke NF: Move all windows specific stuff to Makefile.win
hanke authored
1 # Makefile to build PyMVPA under Windows using a standard Python
2 # distribution and MinGW
3 #
4 # Adjust this path to match the version and location of your Python
5 # installation
e856c87 @yarikoptic build for python 2.6 under Windows
yarikoptic authored
6 PYTHON_VERSION=2.6
7 PYTHON_PATH=C:\\Python26
882dcec @hanke NF: Move all windows specific stuff to Makefile.win
hanke authored
8
9 #
10 # Building
11 #
12
13 all: build configure-inplace-use
14
8098689 @hanke BF: Makefile tuning; added Makefile.win for libsvm
hanke authored
15 # build included 3rd party pieces (if present)
16 3rd: 3rd-stamp
17 3rd-stamp:
8867045 @hanke BF+NF: Fix Windows Makefiles; add Windows specific setup config.
hanke authored
18 cd 3rd\libsvm & $(MAKE) -f Makefile.win
882dcec @hanke NF: Move all windows specific stuff to Makefile.win
hanke authored
19
8098689 @hanke BF: Makefile tuning; added Makefile.win for libsvm
hanke authored
20
21 build: 3rd
882dcec @hanke NF: Move all windows specific stuff to Makefile.win
hanke authored
22 # build pymvpa extensions including libsvm
8098689 @hanke BF: Makefile tuning; added Makefile.win for libsvm
hanke authored
23 set PYTHON_INCLUDE="$(PYTHON_PATH)\\include" \
8867045 @hanke BF+NF: Fix Windows Makefiles; add Windows specific setup config.
hanke authored
24 & python setup.py build_ext
882dcec @hanke NF: Move all windows specific stuff to Makefile.win
hanke authored
25
8867045 @hanke BF+NF: Fix Windows Makefiles; add Windows specific setup config.
hanke authored
26 installer: 3rd build
882dcec @hanke NF: Move all windows specific stuff to Makefile.win
hanke authored
27 # now build the installer
35cc0f7 @yarikoptic BF: fix path to logo.bmp in Makefile.win
yarikoptic authored
28 python setup.py bdist_wininst --bitmap doc\source\pics\logo.bmp
882dcec @hanke NF: Move all windows specific stuff to Makefile.win
hanke authored
29
30
31 configure-inplace-use:
bf83b27 @hanke RF: Uniformize extension handling.
hanke authored
32 copy build\\lib.win32-$(PYTHON_VERSION)\\mvpa\\clfs\\libsmlrc\\smlrc.pyd \
33 mvpa\\clfs\\libsmlrc
34 copy build\\lib.win32-$(PYTHON_VERSION)\\mvpa\\clfs\\libsvmc\\_svmc.pyd \
35 mvpa\\clfs\\libsvmc
882dcec @hanke NF: Move all windows specific stuff to Makefile.win
hanke authored
36
37 #
38 # Cleaning
39 #
40
41 clean:
42 -rmdir /S /Q build
43 -del /S *.a *.o *.gch *.pyd
44
45 #
46 # Testing
47 #
48
49 ut-%: build configure-inplace-use
50 @set PYTHONPATH=$(CURDIR) & cd tests & python test_$*.py
51
52 unittest: build configure-inplace-use
53 @set PYTHONPATH=$(CURDIR) & cd tests & python main.py
54
55
56 #
57 # Trailer
58 #
59
60 .PHONY: all
Something went wrong with that request. Please try again.