Use Python 3 in script shebangs
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Wed, 11 Jan 2023 23:51:04 +0000 (23:51 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Wed, 11 Jan 2023 23:51:04 +0000 (23:51 +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 2dd73e4c774c08652c345eeaec2f44b77486195b..cc56161fbc1ddd02e58255d0434961df113c6419 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 dda2f41630017ed4e9169042176d75a898aeb936..a1941e7338e5d9852252f83759a4229e81f4b0d9 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 4310d1aa7464496947ab12a2bd36fded3bf05c06..10188439db93bd8a16c7c43e63f5d01227b9c135 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 import argparse
 import glob
index 1bdfc7116f0da13d1eed0efa14662d5518d6e3eb..22054ec87d472a0e92aa9949f6f38c324ae47b1e 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