Use Python 3 in script shebangs
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Tue, 12 Dec 2023 20:07:17 +0000 (20:07 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Tue, 12 Dec 2023 20:07:17 +0000 (20:07 +0000)
(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 54ef91bd7d7bac74fe3ac4ba67f6af23b24e0f59..ada2219b096bc4adfceb8fa2b204fb33dff8a028 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import sys
 import os
 
index 3a4c9e3ba5439c3f6ddc4319fcca235d43ab9dc1..923c394434b9ae04bb2eb9601693f1fcc5b4e5e7 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # coding: utf-8
 
 # DO NOT EDIT
index 478f73734521b3290bfeed613a74fc093b2e603a..b73d6bce49a69ecb673c3a22fe7692de9648d613 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # coding: utf-8
 
 # DO NOT EDIT
index e36e7b3644fb4be909b2bda4c08bc138242d455e..2d0c0b51ef0c2131043c751e996a133b8b792fb9 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 ec40a4bc6cb4dba3307ad9addd1935811ed449ca..5446cb2a5b1c6a2f1ad60d4d217a4a8eb0655334 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 import argparse
 import glob
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