Use Python 3 in script shebangs
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 21 Apr 2024 19:55:32 +0000 (20:55 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 21 Apr 2024 19:55:32 +0000 (20:55 +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 1147c695a2a97bac84267673beff03fafdd80a2c..31958df5c9e62a9941c48a4084684068ebc6fa37 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import sys
 import os
 
index 36d0e21685b9fd2e1b65a45e93a32dea779a7c68..9feaae237f8537662efb07abacc1414dcbf98f60 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # DO NOT EDIT
 # Autogenerated from the notebook plots_boxplots.ipynb.
index c501af6a188c95a087c1e728b9ae214772af1f62..d5c50841b14e6b1df2189ea09e2c59b3cffde7cf 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # DO NOT EDIT
 # Autogenerated from the notebook robust_models_1.ipynb.
index 5060253c3eb96908af9c809186e213263705e9bb..7b9c5e500541157a1a8f23bb7a1f22e1da8851e8 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 8a4ece096b450b8e10e99bf766822444682f080d..6accfaad908739d52650167eec766714407bbeb7 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 145ccff16394dd786b4563cb2910c826e81d6ad3..b9a1676c8352b6ddb0df917e1ce388de4f862fe6 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import argparse
 import glob
 import logging
index 8cc08c3f5ed0dffbf62724227b17f098240910d9..9277e4712ad59505a8a2ac816a2d0b706393ed00 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