summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2016-11-03 13:01:22 +0000
committerDaniel Firth <dan.firth@codethink.co.uk>2016-11-16 19:31:36 +0000
commite04bef9afc02310aa643a11ea14f9d0e26096684 (patch)
tree290a01ed54b33e4a24c85690f0968632eba7a50a
parent12d0c0afeb74a648299ae83b8c0ae2a762fe313a (diff)
downloadybd-e04bef9afc02310aa643a11ea14f9d0e26096684.tar.gz
Change shebang to '#!/usr/bin/python3'
As per PEP 394: https://www.python.org/dev/peps/pep-0394/
-rw-r--r--.gitlab-ci.yml6
-rwxr-xr-xkbas.py2
-rwxr-xr-xkbas/__main__.py2
-rw-r--r--setup.py2
-rwxr-xr-xybd.py2
-rwxr-xr-xybd/__main__.py2
-rw-r--r--ybd/defaults.py2
7 files changed, 9 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 48050d8..57d214c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,7 @@ cache_keys_v1:
- git clone git://git.baserock.org/baserock/baserock/definitions
- cd definitions
- git checkout baserock-14.40
- - python3 ../ybd.py ci x86_64
+ - ../ybd.py ci x86_64
- echo ci.b9de86669ce182e60e3f9445e6394b478b67a2c73b4c0764491c158c5f2569e9 > expected.result
- diff expected.result ybd.result
@@ -51,7 +51,7 @@ check_build:
YBD_check_definitions: "exit"
script:
- git clone git://git.baserock.org/baserock/baserock/definitions
- - python3 ./ybd.py definitions/systems/minimal-system-x86_64-generic.morph x86_64
+ - ./ybd.py definitions/systems/minimal-system-x86_64-generic.morph x86_64
check_build_no_kbas:
stage: build
@@ -60,4 +60,4 @@ check_build_no_kbas:
YBD_kbas_url: "false-url"
script:
- git clone git://git.baserock.org/baserock/baserock/definitions
- - python3 ./ybd.py definitions/systems/minimal-system-x86_64-generic.morph x86_64
+ - ./ybd.py definitions/systems/minimal-system-x86_64-generic.morph x86_64
diff --git a/kbas.py b/kbas.py
index da8547c..544c93c 100755
--- a/kbas.py
+++ b/kbas.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (C) 2015 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
diff --git a/kbas/__main__.py b/kbas/__main__.py
index 3eecd89..0f4239d 100755
--- a/kbas/__main__.py
+++ b/kbas/__main__.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (C) 2015-2016 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
diff --git a/setup.py b/setup.py
index aa2d8a0..aabe2c7 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from setuptools import setup
diff --git a/ybd.py b/ybd.py
index 933e315..f2f3f6f 100755
--- a/ybd.py
+++ b/ybd.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (C) 2015 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
diff --git a/ybd/__main__.py b/ybd/__main__.py
index bf1548f..e0bff27 100755
--- a/ybd/__main__.py
+++ b/ybd/__main__.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (C) 2014-2016 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
diff --git a/ybd/defaults.py b/ybd/defaults.py
index d3b5435..2cb4f44 100644
--- a/ybd/defaults.py
+++ b/ybd/defaults.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (C) 2015-2016 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify