瀏覽代碼

change Python shebang to python3 (#75)

Markus Neteler 5 年之前
父節點
當前提交
b4432f400e
共有 100 個文件被更改,包括 103 次插入103 次删除
  1. 1 1
      db/db.describe/testsuite/test_dbdescribe.py
  2. 1 1
      display/d.mon/render_cmd.py
  3. 1 1
      doc/gui/wxpython/example/g.gui.example.py
  4. 1 1
      doc/python/m.distance.py
  5. 1 1
      doc/python/raster_example_ctypes.py
  6. 1 1
      doc/python/script/r.example.py
  7. 1 1
      general/g.parser/test.py
  8. 1 1
      gui/scripts/d.rast3d.py
  9. 1 1
      gui/scripts/d.wms.py
  10. 1 1
      gui/wxpython/animation/g.gui.animation.py
  11. 1 1
      gui/wxpython/datacatalog/g.gui.datacatalog.py
  12. 1 1
      gui/wxpython/dbmgr/g.gui.dbmgr.py
  13. 1 1
      gui/wxpython/gcp/g.gui.gcp.py
  14. 1 1
      gui/wxpython/gmodeler/g.gui.gmodeler.py
  15. 1 1
      gui/wxpython/gmodeler/model.py
  16. 5 5
      gui/wxpython/gui_core/pyedit.py
  17. 1 1
      gui/wxpython/iclass/g.gui.iclass.py
  18. 1 1
      gui/wxpython/image2target/g.gui.image2target.py
  19. 1 1
      gui/wxpython/mapdisp/test_mapdisp.py
  20. 1 1
      gui/wxpython/mapswipe/g.gui.mapswipe.py
  21. 1 1
      gui/wxpython/modules/mapsets_picker.py
  22. 1 1
      gui/wxpython/photo2image/g.gui.photo2image.py
  23. 1 1
      gui/wxpython/psmap/g.gui.psmap.py
  24. 1 1
      gui/wxpython/rlisetup/g.gui.rlisetup.py
  25. 1 1
      gui/wxpython/timeline/g.gui.timeline.py
  26. 1 1
      gui/wxpython/tplot/frame.py
  27. 1 1
      gui/wxpython/tplot/g.gui.tplot.py
  28. 1 1
      gui/wxpython/vdigit/g.gui.vdigit.py
  29. 1 1
      imagery/i.atcorr/create_iwave.py
  30. 1 1
      include/Make/Platform.make.in
  31. 1 1
      lib/init/grass.py
  32. 1 1
      lib/python/ctypes/ctypesgen.py
  33. 1 1
      lib/python/ctypes/ctypesgencore/__init__.py
  34. 1 1
      lib/python/ctypes/ctypesgencore/ctypedescs.py
  35. 1 1
      lib/python/ctypes/ctypesgencore/descriptions.py
  36. 1 1
      lib/python/ctypes/ctypesgencore/expressions.py
  37. 1 1
      lib/python/ctypes/ctypesgencore/messages.py
  38. 1 1
      lib/python/ctypes/ctypesgencore/options.py
  39. 1 1
      lib/python/ctypes/ctypesgencore/parser/__init__.py
  40. 1 1
      lib/python/ctypes/ctypesgencore/parser/cdeclarations.py
  41. 1 1
      lib/python/ctypes/ctypesgencore/parser/cgrammar.py
  42. 1 1
      lib/python/ctypes/ctypesgencore/parser/cparser.py
  43. 1 1
      lib/python/ctypes/ctypesgencore/parser/ctypesparser.py
  44. 1 1
      lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py
  45. 1 1
      lib/python/ctypes/ctypesgencore/parser/pplexer.py
  46. 1 1
      lib/python/ctypes/ctypesgencore/parser/preprocessor.py
  47. 1 1
      lib/python/ctypes/ctypesgencore/printer/__init__.py
  48. 1 1
      lib/python/ctypes/ctypesgencore/printer/printer.py
  49. 1 1
      lib/python/ctypes/ctypesgencore/processor/__init__.py
  50. 1 1
      lib/python/ctypes/ctypesgencore/processor/dependencies.py
  51. 1 1
      lib/python/ctypes/ctypesgencore/processor/operations.py
  52. 1 1
      lib/python/ctypes/ctypesgencore/processor/pipeline.py
  53. 1 1
      lib/python/pygrass/gis/__init__.py
  54. 1 1
      locale/grass_po_stats.py
  55. 1 1
      man/build_check.py
  56. 1 1
      man/build_check_rest.py
  57. 1 1
      man/build_class.py
  58. 1 1
      man/build_class_graphical.py
  59. 1 1
      man/build_class_rest.py
  60. 1 1
      man/build_full_index.py
  61. 1 1
      man/build_full_index_rest.py
  62. 1 1
      man/build_graphical_index.py
  63. 1 1
      man/build_html.py
  64. 1 1
      man/build_index.py
  65. 1 1
      man/build_index_rest.py
  66. 1 1
      man/build_keywords.py
  67. 1 1
      man/build_manual_gallery.py
  68. 1 1
      man/build_rest.py
  69. 1 1
      man/build_topics.py
  70. 1 1
      raster/r.mapcalc/testsuite/test_nmedian_bug_3296.py
  71. 1 1
      raster/r.mapcalc/testsuite/test_row_above_below_bug.py
  72. 1 1
      raster/r.solute.transport/example.py
  73. 1 1
      raster/r.solute.transport/seguin_verify.py
  74. 1 1
      raster/r.solute.transport/seguin_verify_well.py
  75. 1 1
      raster3d/r3.to.rast/testsuite/test_a_b_coeff.py
  76. 1 1
      raster3d/r3.to.rast/testsuite/test_integer_rounding.py
  77. 1 1
      raster3d/r3.to.rast/testsuite/test_nulls.py
  78. 1 1
      raster3d/r3.to.rast/testsuite/test_small_data.py
  79. 1 1
      scripts/d.correlate/d.correlate.py
  80. 1 1
      scripts/d.frame/d.frame.py
  81. 1 1
      scripts/d.out.file/d.out.file.py
  82. 1 1
      scripts/d.polar/d.polar.py
  83. 1 1
      scripts/d.rast.edit/d.rast.edit.py
  84. 1 1
      scripts/d.rast.leg/d.rast.leg.py
  85. 1 1
      scripts/d.redraw/d.redraw.py
  86. 1 1
      scripts/d.shade/d.shade.py
  87. 1 1
      scripts/d.to.rast/d.to.rast.py
  88. 1 1
      scripts/d.what.rast/d.what.rast.py
  89. 1 1
      scripts/d.what.vect/d.what.vect.py
  90. 1 1
      scripts/db.dropcolumn/db.dropcolumn.py
  91. 1 1
      scripts/db.droptable/db.droptable.py
  92. 1 1
      scripts/db.in.ogr/db.in.ogr.py
  93. 1 1
      scripts/db.out.ogr/db.out.ogr.py
  94. 1 1
      scripts/db.test/db.test.py
  95. 1 1
      scripts/db.univar/db.univar.py
  96. 1 1
      scripts/g.extension.all/g.extension.all.py
  97. 1 1
      scripts/g.extension/g.extension.py
  98. 1 1
      scripts/g.extension/testsuite/data/sample_modules/r.plus.example/r.plus.example.py
  99. 1 1
      scripts/g.manual/g.manual.py
  100. 0 0
      scripts/g.search.modules/g.search.modules.py

+ 1 - 1
db/db.describe/testsuite/test_dbdescribe.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 """
 Created on Tue Nov 14 09:43:55 2017

+ 1 - 1
display/d.mon/render_cmd.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import os
 import sys
 import tempfile

+ 1 - 1
doc/gui/wxpython/example/g.gui.example.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    g.gui.iclass

+ 1 - 1
doc/python/m.distance.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:       m.distance

+ 1 - 1
doc/python/raster_example_ctypes.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Sample Python script to access raster data using GRASS Ctypes

+ 1 - 1
doc/python/script/r.example.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #%module
 #% description: Selects values from raster above value of mean plus standard deviation

+ 1 - 1
general/g.parser/test.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # g.parser demo script for python programming
 

+ 1 - 1
gui/scripts/d.rast3d.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 ############################################################################
 #

+ 1 - 1
gui/scripts/d.wms.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 ############################################################################
 #

+ 1 - 1
gui/wxpython/animation/g.gui.animation.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    Animation

+ 1 - 1
gui/wxpython/datacatalog/g.gui.datacatalog.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    Data catalog

+ 1 - 1
gui/wxpython/dbmgr/g.gui.dbmgr.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    g.gui.dbmgr

+ 1 - 1
gui/wxpython/gcp/g.gui.gcp.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
gui/wxpython/gmodeler/g.gui.gmodeler.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    g.gui.gmodeler

+ 1 - 1
gui/wxpython/gmodeler/model.py

@@ -2542,7 +2542,7 @@ class WritePythonFile:
 
         # header
         self.fd.write(
-            r"""#!/usr/bin/env python
+            r"""#!/usr/bin/env python3
 #
 #{header_begin}
 #

+ 5 - 5
gui/wxpython/gui_core/pyedit.py

@@ -48,7 +48,7 @@ from core.debug import Debug
 
 def script_template():
     """The most simple script which runs and gives something"""
-    return r"""#!/usr/bin/env python
+    return r"""#!/usr/bin/env python3
 
 import grass.script as gscript
 
@@ -75,7 +75,7 @@ def module_template():
     output = StringIO()
     # header
     output.write(
-        r"""#!/usr/bin/env python
+        r"""#!/usr/bin/env python3
 #
 #%s
 #
@@ -144,7 +144,7 @@ if __name__ == "__main__":
 
 def script_example():
     """Example of a simple script"""
-    return r"""#!/usr/bin/env python
+    return r"""#!/usr/bin/env python3
 
 import grass.script as gscript
 
@@ -165,7 +165,7 @@ if __name__ == "__main__":
 
 def module_example():
     """Example of a GRASS module"""
-    return r"""#!/usr/bin/env python
+    return r"""#!/usr/bin/env python3
 
 #%module
 #% description: Adds the values of two rasters (A + B)
@@ -208,7 +208,7 @@ if __name__ == "__main__":
 
 def module_error_handling_example():
     """Example of a GRASS module"""
-    return r"""#!/usr/bin/env python
+    return r"""#!/usr/bin/env python3
 
 #%module
 #% description: Selects values from raster above value of mean plus standard deviation

+ 1 - 1
gui/wxpython/iclass/g.gui.iclass.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    g.gui.iclass

+ 1 - 1
gui/wxpython/image2target/g.gui.image2target.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
gui/wxpython/mapdisp/test_mapdisp.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python33
 
 ############################################################################
 #

+ 1 - 1
gui/wxpython/mapswipe/g.gui.mapswipe.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    Map Swipe

+ 1 - 1
gui/wxpython/modules/mapsets_picker.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import wx
 

+ 1 - 1
gui/wxpython/photo2image/g.gui.photo2image.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
gui/wxpython/psmap/g.gui.psmap.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    g.gui.psmap

+ 1 - 1
gui/wxpython/rlisetup/g.gui.rlisetup.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    g.gui.rlisetup

+ 1 - 1
gui/wxpython/timeline/g.gui.timeline.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    g.gui.timeline.py

+ 1 - 1
gui/wxpython/tplot/frame.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 @package frame

+ 1 - 1
gui/wxpython/tplot/g.gui.tplot.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    g.gui.tplot.py

+ 1 - 1
gui/wxpython/vdigit/g.gui.vdigit.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:    g.gui.vdigit

+ 1 - 1
imagery/i.atcorr/create_iwave.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 Created on Sat Mar 27 11:35:32 2010
 

+ 1 - 1
include/Make/Platform.make.in

@@ -212,7 +212,7 @@ CAIRO_HAS_XRENDER         = @CAIRO_HAS_XRENDER@
 CAIRO_HAS_XRENDER_SURFACE = @CAIRO_HAS_XRENDER_SURFACE@
 
 #Python
-PYTHON              = python
+PYTHON              = python3
 
 #regex
 REGEXINCPATH        = @REGEXINCPATH@

+ 1 - 1
lib/init/grass.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #############################################################################
 #
 # MODULE:       GRASS initialization script

+ 1 - 1
lib/python/ctypes/ctypesgen.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 
 def find_names_in_modules(modules):

+ 1 - 1
lib/python/ctypes/ctypesgencore/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Ctypesgencore is the module that contains the main body of ctypesgen - in fact,

+ 1 - 1
lib/python/ctypes/ctypesgencore/ctypedescs.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''
 ctypesgencore.ctypedescs contains classes to represent a C type. All of them

+ 1 - 1
lib/python/ctypes/ctypesgencore/descriptions.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 ctypesgencore.descriptions contains classes to represent a description of a

+ 1 - 1
lib/python/ctypes/ctypesgencore/expressions.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''
 The expressions module contains classes to represent an expression. The main

+ 1 - 1
lib/python/ctypes/ctypesgencore/messages.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 ctypesgencore.messages contains functions to display status, error, or warning

+ 1 - 1
lib/python/ctypes/ctypesgencore/options.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 All of the components of ctypegencore require an argument called "options".

+ 1 - 1
lib/python/ctypes/ctypesgencore/parser/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This package parses C header files and generates lists of functions, typedefs,

+ 1 - 1
lib/python/ctypes/ctypesgencore/parser/cdeclarations.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''
 This file contains classes that represent C declarations. cparser produces

+ 1 - 1
lib/python/ctypes/ctypesgencore/parser/cgrammar.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''This is a yacc grammar for C.
 

+ 1 - 1
lib/python/ctypes/ctypesgencore/parser/cparser.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''
 Parse a C source file.

+ 1 - 1
lib/python/ctypes/ctypesgencore/parser/ctypesparser.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''
 ctypesgencore.parser.ctypesparser contains a class, CtypesParser, which is a

+ 1 - 1
lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 DataCollectingParser subclasses ctypesparser.CtypesParser and builds Description

+ 1 - 1
lib/python/ctypes/ctypesgencore/parser/pplexer.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''Preprocess a C source file using gcc and convert the result into
    a token stream

+ 1 - 1
lib/python/ctypes/ctypesgencore/parser/preprocessor.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''Preprocess a C source file using gcc and convert the result into
    a token stream

+ 1 - 1
lib/python/ctypes/ctypesgencore/printer/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This module is the backend to ctypesgen; it contains classes to

+ 1 - 1
lib/python/ctypes/ctypesgencore/printer/printer.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import print_function
 
 

+ 1 - 1
lib/python/ctypes/ctypesgencore/processor/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This module contains functions to operate on the DeclarationCollection produced

+ 1 - 1
lib/python/ctypes/ctypesgencore/processor/dependencies.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 The dependencies module determines which descriptions depend on which other

+ 1 - 1
lib/python/ctypes/ctypesgencore/processor/operations.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 The operations module contains various functions to process the

+ 1 - 1
lib/python/ctypes/ctypesgencore/processor/pipeline.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import os
 import re

+ 1 - 1
lib/python/pygrass/gis/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 from __future__ import (nested_scopes, generators, division, absolute_import,

+ 1 - 1
locale/grass_po_stats.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #############################################################################
 #
 # MODULE:       Languages information and statistics (Python)

+ 1 - 1
man/build_check.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # checks for HTML files missing DESCRIPTION section
 # (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009

+ 1 - 1
man/build_check_rest.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # checks for HTML files missing DESCRIPTION section
 # (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009

+ 1 - 1
man/build_class.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # generates HTML man pages docs/html/<category>.html
 # (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009

+ 1 - 1
man/build_class_graphical.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 ############################################################################

+ 1 - 1
man/build_class_rest.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # generates REST man pages docs/rest/<category>.txt
 # (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009

+ 1 - 1
man/build_full_index.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # generates docs/html/full_index.html
 # (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009

+ 1 - 1
man/build_full_index_rest.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # generates docs/rest/full_index.txt
 # (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009

+ 1 - 1
man/build_graphical_index.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 ############################################################################

+ 1 - 1
man/build_html.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 # utilities for generating HTML indices

+ 1 - 1
man/build_index.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # generates docs/html/index.html
 # (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009

+ 1 - 1
man/build_index_rest.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # generates docs/rest/index.txt
 # (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009, Luca Delucchi 2012

+ 1 - 1
man/build_keywords.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 # generates keywords.html

+ 1 - 1
man/build_manual_gallery.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 ############################################################################

+ 1 - 1
man/build_rest.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Created on Thu Aug  9 14:04:12 2012

+ 1 - 1
man/build_topics.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 # generates topics.html and topic_*.html

+ 1 - 1
raster/r.mapcalc/testsuite/test_nmedian_bug_3296.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
raster/r.mapcalc/testsuite/test_row_above_below_bug.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
raster/r.solute.transport/example.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # This is an example script how groundwater flow and solute transport are
 # computed within grass
 import sys

+ 1 - 1
raster/r.solute.transport/seguin_verify.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Shellscript to verify r.solute.transport calculation, this calculation is based on
 # the example 1.1 and 1.2 at page 175 of the following book:
 #	title = "Str{\"o}mungs und Transportmodellierung",

+ 1 - 1
raster/r.solute.transport/seguin_verify_well.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Shellscript to verify r.solute.transport calculation, this calculation is based on
 # the example 2.1 and 2.2 at page 181 of the following book:
 #	title = "Str{\"o}mungs und Transportmodellierung",

+ 1 - 1
raster3d/r3.to.rast/testsuite/test_a_b_coeff.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
raster3d/r3.to.rast/testsuite/test_integer_rounding.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
raster3d/r3.to.rast/testsuite/test_nulls.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
raster3d/r3.to.rast/testsuite/test_small_data.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/d.correlate/d.correlate.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 ############################################################################
 #

+ 1 - 1
scripts/d.frame/d.frame.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/d.out.file/d.out.file.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/d.polar/d.polar.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 ############################################################################
 #

+ 1 - 1
scripts/d.rast.edit/d.rast.edit.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/d.rast.leg/d.rast.leg.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/d.redraw/d.redraw.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/d.shade/d.shade.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/d.to.rast/d.to.rast.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/d.what.rast/d.what.rast.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/d.what.vect/d.what.vect.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/db.dropcolumn/db.dropcolumn.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/db.droptable/db.droptable.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/db.in.ogr/db.in.ogr.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/db.out.ogr/db.out.ogr.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/db.test/db.test.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 #
 # MODULE:	db.test

+ 1 - 1
scripts/db.univar/db.univar.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/g.extension.all/g.extension.all.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/g.extension/g.extension.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 1 - 1
scripts/g.extension/testsuite/data/sample_modules/r.plus.example/r.plus.example.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #%module
 #% description: Adds the values of two rasters (A + B)

+ 1 - 1
scripts/g.manual/g.manual.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ############################################################################
 #

+ 0 - 0
scripts/g.search.modules/g.search.modules.py


部分文件因文件數量過多而無法顯示