Use Python 3 in script shebangs
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Fri, 24 Apr 2020 14:17:04 +0000 (15:17 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Fri, 24 Apr 2020 14:17:04 +0000 (15:17 +0100)
(Skipping the two .pyx files with #!python - they need to be compiled
with Cython, not directly run with any version of plain Python)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name python3_shebangs.patch

archive/docs/fix_longtable.py
examples/python/plots_boxplots.py
examples/python/robust_models_1.py
statsmodels/regression/quantile_regression.py
statsmodels/sandbox/examples/example_pca.py
statsmodels/tools/print_version.py
tools/export_notebooks_to_python.py
tools/generate_formula_api.py

index 2dd73e4c774c08652c345eeaec2f44b77486195b..cc56161fbc1ddd02e58255d0434961df113c6419 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import sys
 import os
 
index 6b7b38cb811f525cf13d01b876c89b8e34ee98f8..17e4360e8aa7240eceeffbe23fd3ea8b10bfee22 100644 (file)
@@ -5,7 +5,7 @@
 # flake8: noqa
 # DO NOT EDIT
 
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # coding: utf-8
 
 # # Box Plots
index 227c12e48976ef59e472d9e0d73840a44cf7003f..774d58b08249f088584f5e34daa07fa2341e1f3a 100644 (file)
@@ -5,7 +5,7 @@
 # flake8: noqa
 # DO NOT EDIT
 
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # coding: utf-8
 
 # # M-Estimators for Robust Linear Modeling
index 212ed9d5ebaa660de4a5d6deb4065465f97d82c5..cdab6b2b0be934836616fe6a9795e975fb608782 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''
 Quantile regression model
index 2d32c25f3b663b184daeb33d0e7f3040630a4837..695121806f35b36c82c323d18b882cabf31bf2ff 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import numpy as np
 from statsmodels.sandbox.pca import Pca
index a0c09448651af84e7f796a4284ed8439b312b6fc..d3deb29e4a57fc17ede5051a3c115e0dcd656ee0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from functools import reduce
 import sys
 from os.path import dirname
index 237fa38f2546c989b9644f0097cc9dbfb820aef7..b56bd2eaa2f54d182e49b62ff834f7f3012b7dbe 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 import argparse
 import glob
index 75d2be1e31b258a0d044b30ce0d5de21ebe23efa..edf8580ae011d2a203a4b84d01336f11e9da8ed7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 This will generate an API file for formula in dir/statsmodels/formula/api.py