37 |
37 |
38 TPNO= 8267 |
38 TPNO= 8267 |
39 |
39 |
40 # logilab-astng depends on logilab-common, which is not Python 3 ready, so mark |
40 # logilab-astng depends on logilab-common, which is not Python 3 ready, so mark |
41 # this likewise. |
41 # this likewise. |
42 PYTHON_VERSIONS= 2.7 2.6 |
42 PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
43 |
43 |
44 include $(WS_MAKE_RULES)/prep.mk |
44 include $(WS_MAKE_RULES)/prep.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
46 include $(WS_MAKE_RULES)/setup.py.mk |
46 include $(WS_MAKE_RULES)/setup.py.mk |
47 |
47 |
48 # common targets |
48 # common targets |
49 |
49 |
50 build: $(BUILD_NO_ARCH) |
50 build: $(BUILD_NO_ARCH) |
51 |
51 |
52 install: $(INSTALL_NO_ARCH) |
52 install: $(INSTALL_NO_ARCH) |
53 |
|
54 # The tests are run using python 2.7 only and require that |
|
55 # the python-27 package is installed (does not have to be the default python). |
|
56 # Testing using python-26 is done manually, since it requires |
|
57 # downloading and installing the unittest2 component (not part of Solaris). |
|
58 # which provides python 2.7 functionality to the unittest python library |
|
59 # in the python2.6 package. |
|
60 |
53 |
61 # Use the python 2.7 libraries for testing. |
54 # Use the python 2.7 libraries for testing. |
62 test: PYTHON_VERSION=2.7 |
55 test: PYTHON_VERSION=2.7 |
63 |
56 |
64 # logilab-common is a runtime dependency of logilab-astng, |
57 # logilab-common is a runtime dependency of logilab-astng, |