aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-01-25 21:23:02 +0100
committerSebastian Pipping <sping@gentoo.org>2020-01-25 23:41:54 +0100
commit9f2eef4b0d6ec926a84f881b879e69978f604dc8 (patch)
treed4348f54c8ae541e8c69e09b178cd1397a7638eb
parentBump version to 0.6.6 (diff)
downloadmetagen-9f2eef4b0d6ec926a84f881b879e69978f604dc8.tar.gz
metagen-9f2eef4b0d6ec926a84f881b879e69978f604dc8.tar.bz2
metagen-9f2eef4b0d6ec926a84f881b879e69978f604dc8.zip
Be explicit about Python 3 in shebang lines and docs
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
-rw-r--r--docs/README2
-rwxr-xr-xmetagen/main.py2
-rw-r--r--metagen/meta_unittest.py2
-rwxr-xr-xmetagen/metagenerator.py2
-rw-r--r--setup.py8
5 files changed, 8 insertions, 8 deletions
diff --git a/docs/README b/docs/README
index 3a40768..81bb6d2 100644
--- a/docs/README
+++ b/docs/README
@@ -7,7 +7,7 @@ metagen is a command line tool that writes a Gentoo metadata.xml file
in the current working directory.
The metagen package also has a metagenerator class that can be used
-from Python to create metadata.xml files easily:
+from Python 3 to create metadata.xml files easily:
from metagen.metagenerator import MyMetadata
diff --git a/metagen/main.py b/metagen/main.py
index c642b12..973822d 100755
--- a/metagen/main.py
+++ b/metagen/main.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
"""
diff --git a/metagen/meta_unittest.py b/metagen/meta_unittest.py
index 73b5072..15caf8b 100644
--- a/metagen/meta_unittest.py
+++ b/metagen/meta_unittest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
from metagenerator import MyMetadata
diff --git a/metagen/metagenerator.py b/metagen/metagenerator.py
index b08839b..caecf87 100755
--- a/metagen/metagenerator.py
+++ b/metagen/metagenerator.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
import sys
diff --git a/setup.py b/setup.py
index 5149fe2..5bd0e09 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ NAME:
setup.py
SYNOPSIS:
- python setup.py [options] [command]
+ python3 setup.py [options] [command]
DESCRIPTION:
Using distutils "setup", build, install, or make tarball of the package.
@@ -24,9 +24,9 @@ EXAMPLES:
(cp myfile-0.1.tar.gz here)
gzip -cd myfile-0.1.tar.gz | tar xvf -
cd myfile-0.1
- python setup.py build
- python setup.py install
- python setup.py sdist
+ python3 setup.py build
+ python3 setup.py install
+ python3 setup.py sdist
"""
import os,sys,re,string,getopt,shutil,commands,glob