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
|
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 20 Feb 2020 19:39:13 +0100
Description: Force usage of Python3
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
# Files are then pushed to sourceforge using rsync with a command like this:
# rsync -e ssh nipype-0.1-py2.5.egg cburns,nipy@frs.sourceforge.net:/home/frs/project/n/ni/nipy/nipype/nipype-0.1/
-PYTHON ?= python
+PYTHON ?= python3
.PHONY: zipdoc sdist egg upload_to_pypi trailing-spaces clean-pyc clean-so clean-build clean-ctags clean in inplace test-code test-coverage test html specs check-before-commit check gen-base-dockerfile gen-main-dockerfile gen-dockerfiles
--- a/tools/gitwash_dumper.py
+++ b/tools/gitwash_dumper.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" Checkout gitwash repo into directory and do search replace on name """
import os
from os.path import join as pjoin
--- a/nipype/__init__.py
+++ b/nipype/__init__.py
@@ -38,7 +38,7 @@ class NipypeTester(object):
try:
import pytest
except ImportError:
- raise RuntimeError("py.test not installed, run: pip install pytest")
+ raise RuntimeError("py.test-3 not installed, run: pip install pytest")
args = []
if not doctests:
args.extend(["-p", "no:doctest"])
|