Use Python 3 in script shebangs
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +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 8ae1962d3c9c19243e254b9a0bce309622362bf8..3ab2a96d63eb92d98bc009dc0f6ed93dbb88b8d4 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 4a9652672632c639df589adb43a1523b17f4323f..cab1725d54499f71e58f5f1446d76cc7d85b85f9 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