summaryrefslogtreecommitdiff
path: root/buildstream
diff options
context:
space:
mode:
authorGökçen Nurlu <gnurlu1@bloomberg.net>2018-06-18 16:27:35 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2018-06-19 04:41:24 +0000
commit4016bec1d747481ca8354c1c798fba0271d4696b (patch)
treec424c90698554b7b4da0f2c200004e945fe0e69c /buildstream
parentbb223156cc919af966702d773a018f2d1a867416 (diff)
downloadbuildstream-4016bec1d747481ca8354c1c798fba0271d4696b.tar.gz
Remove shebangs from python files
Fixes #424
Diffstat (limited to 'buildstream')
-rw-r--r--buildstream/__init__.py1
-rw-r--r--buildstream/_artifactcache/__init__.py1
-rw-r--r--buildstream/_artifactcache/artifactcache.py1
-rw-r--r--buildstream/_artifactcache/ostreecache.py1
-rw-r--r--buildstream/_artifactcache/tarcache.py1
-rw-r--r--buildstream/_cachekey.py1
-rw-r--r--buildstream/_context.py1
-rw-r--r--buildstream/_elementfactory.py1
-rw-r--r--buildstream/_exceptions.py1
-rw-r--r--buildstream/_frontend/__init__.py1
-rw-r--r--buildstream/_frontend/app.py1
-rw-r--r--buildstream/_frontend/complete.py1
-rw-r--r--buildstream/_frontend/linuxapp.py1
-rw-r--r--buildstream/_frontend/profile.py1
-rw-r--r--buildstream/_frontend/status.py1
-rw-r--r--buildstream/_frontend/widget.py1
-rw-r--r--buildstream/_fuse/__init__.py1
-rw-r--r--buildstream/_fuse/hardlinks.py1
-rw-r--r--buildstream/_fuse/mount.py1
-rw-r--r--buildstream/_loader/__init__.py1
-rw-r--r--buildstream/_loader/loadelement.py1
-rw-r--r--buildstream/_loader/loader.py1
-rw-r--r--buildstream/_loader/metaelement.py1
-rw-r--r--buildstream/_loader/metasource.py1
-rw-r--r--buildstream/_loader/types.py1
-rw-r--r--buildstream/_message.py1
-rw-r--r--buildstream/_options/__init__.py1
-rw-r--r--buildstream/_options/option.py1
-rw-r--r--buildstream/_options/optionarch.py1
-rw-r--r--buildstream/_options/optionbool.py1
-rw-r--r--buildstream/_options/optioneltmask.py1
-rw-r--r--buildstream/_options/optionenum.py1
-rw-r--r--buildstream/_options/optionflags.py1
-rw-r--r--buildstream/_options/optionpool.py1
-rw-r--r--buildstream/_ostree.py1
-rw-r--r--buildstream/_pipeline.py1
-rw-r--r--buildstream/_platform/__init__.py1
-rw-r--r--buildstream/_platform/linux.py1
-rw-r--r--buildstream/_platform/platform.py1
-rw-r--r--buildstream/_platform/unix.py1
-rw-r--r--buildstream/_plugincontext.py1
-rw-r--r--buildstream/_profile.py1
-rw-r--r--buildstream/_project.py1
-rw-r--r--buildstream/_projectrefs.py1
-rw-r--r--buildstream/_scheduler/__init__.py1
-rw-r--r--buildstream/_scheduler/buildqueue.py1
-rw-r--r--buildstream/_scheduler/fetchqueue.py1
-rw-r--r--buildstream/_scheduler/job.py1
-rw-r--r--buildstream/_scheduler/pullqueue.py1
-rw-r--r--buildstream/_scheduler/pushqueue.py1
-rw-r--r--buildstream/_scheduler/queue.py1
-rw-r--r--buildstream/_scheduler/scheduler.py1
-rw-r--r--buildstream/_scheduler/trackqueue.py1
-rw-r--r--buildstream/_signals.py1
-rw-r--r--buildstream/_site.py1
-rw-r--r--buildstream/_sourcefactory.py1
-rw-r--r--buildstream/_stream.py1
-rw-r--r--buildstream/_variables.py1
-rw-r--r--buildstream/_versions.py1
-rw-r--r--buildstream/_workspaces.py1
-rw-r--r--buildstream/_yaml.py1
-rw-r--r--buildstream/buildelement.py1
-rw-r--r--buildstream/element.py1
-rw-r--r--buildstream/plugin.py1
-rw-r--r--buildstream/plugins/elements/autotools.py1
-rw-r--r--buildstream/plugins/elements/cmake.py1
-rw-r--r--buildstream/plugins/elements/compose.py1
-rw-r--r--buildstream/plugins/elements/distutils.py1
-rw-r--r--buildstream/plugins/elements/filter.py1
-rw-r--r--buildstream/plugins/elements/import.py1
-rw-r--r--buildstream/plugins/elements/junction.py1
-rw-r--r--buildstream/plugins/elements/make.py1
-rw-r--r--buildstream/plugins/elements/makemaker.py1
-rw-r--r--buildstream/plugins/elements/manual.py1
-rw-r--r--buildstream/plugins/elements/modulebuild.py1
-rw-r--r--buildstream/plugins/elements/pip.py1
-rw-r--r--buildstream/plugins/elements/qmake.py1
-rw-r--r--buildstream/plugins/elements/script.py1
-rw-r--r--buildstream/plugins/elements/stack.py1
-rw-r--r--buildstream/plugins/sources/bzr.py1
-rw-r--r--buildstream/plugins/sources/deb.py1
-rw-r--r--buildstream/plugins/sources/git.py1
-rw-r--r--buildstream/plugins/sources/local.py1
-rw-r--r--buildstream/plugins/sources/ostree.py1
-rw-r--r--buildstream/plugins/sources/patch.py1
-rw-r--r--buildstream/plugins/sources/tar.py1
-rw-r--r--buildstream/plugins/sources/zip.py1
-rw-r--r--buildstream/sandbox/__init__.py1
-rw-r--r--buildstream/sandbox/_config.py1
-rw-r--r--buildstream/sandbox/_mount.py1
-rw-r--r--buildstream/sandbox/_mounter.py1
-rw-r--r--buildstream/sandbox/_sandboxbwrap.py1
-rw-r--r--buildstream/sandbox/_sandboxchroot.py1
-rw-r--r--buildstream/sandbox/sandbox.py1
-rw-r--r--buildstream/scriptelement.py1
-rw-r--r--buildstream/source.py1
-rw-r--r--buildstream/utils.py1
97 files changed, 0 insertions, 97 deletions
diff --git a/buildstream/__init__.py b/buildstream/__init__.py
index 7c4b5e5e6..cf56ecfe1 100644
--- a/buildstream/__init__.py
+++ b/buildstream/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_artifactcache/__init__.py b/buildstream/_artifactcache/__init__.py
index 66373fd75..07ed52b4b 100644
--- a/buildstream/_artifactcache/__init__.py
+++ b/buildstream/_artifactcache/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017-2018 Codethink Limited
#
diff --git a/buildstream/_artifactcache/artifactcache.py b/buildstream/_artifactcache/artifactcache.py
index 9cc281524..2d745f8c2 100644
--- a/buildstream/_artifactcache/artifactcache.py
+++ b/buildstream/_artifactcache/artifactcache.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017-2018 Codethink Limited
#
diff --git a/buildstream/_artifactcache/ostreecache.py b/buildstream/_artifactcache/ostreecache.py
index 9fc12f8d0..707a974eb 100644
--- a/buildstream/_artifactcache/ostreecache.py
+++ b/buildstream/_artifactcache/ostreecache.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017-2018 Codethink Limited
#
diff --git a/buildstream/_artifactcache/tarcache.py b/buildstream/_artifactcache/tarcache.py
index 10ae9d008..ab814abb0 100644
--- a/buildstream/_artifactcache/tarcache.py
+++ b/buildstream/_artifactcache/tarcache.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_cachekey.py b/buildstream/_cachekey.py
index 3d0c19b44..fe407e96f 100644
--- a/buildstream/_cachekey.py
+++ b/buildstream/_cachekey.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_context.py b/buildstream/_context.py
index 114ac9e86..1a59af2b9 100644
--- a/buildstream/_context.py
+++ b/buildstream/_context.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016-2018 Codethink Limited
#
diff --git a/buildstream/_elementfactory.py b/buildstream/_elementfactory.py
index bc1d95082..9d5b258cb 100644
--- a/buildstream/_elementfactory.py
+++ b/buildstream/_elementfactory.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_exceptions.py b/buildstream/_exceptions.py
index bcea65a8d..3aadd526d 100644
--- a/buildstream/_exceptions.py
+++ b/buildstream/_exceptions.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_frontend/__init__.py b/buildstream/_frontend/__init__.py
index b2e41301e..febd4979d 100644
--- a/buildstream/_frontend/__init__.py
+++ b/buildstream/_frontend/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_frontend/app.py b/buildstream/_frontend/app.py
index d30b59265..4675b0eb0 100644
--- a/buildstream/_frontend/app.py
+++ b/buildstream/_frontend/app.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016-2018 Codethink Limited
#
diff --git a/buildstream/_frontend/complete.py b/buildstream/_frontend/complete.py
index 4a367e62a..79bb92758 100644
--- a/buildstream/_frontend/complete.py
+++ b/buildstream/_frontend/complete.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_frontend/linuxapp.py b/buildstream/_frontend/linuxapp.py
index 92586bc40..176c5d052 100644
--- a/buildstream/_frontend/linuxapp.py
+++ b/buildstream/_frontend/linuxapp.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_frontend/profile.py b/buildstream/_frontend/profile.py
index 00a5980d3..dda0f7ffe 100644
--- a/buildstream/_frontend/profile.py
+++ b/buildstream/_frontend/profile.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_frontend/status.py b/buildstream/_frontend/status.py
index 0e5855181..3f66e009a 100644
--- a/buildstream/_frontend/status.py
+++ b/buildstream/_frontend/status.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_frontend/widget.py b/buildstream/_frontend/widget.py
index fe7229e8a..dab8cab56 100644
--- a/buildstream/_frontend/widget.py
+++ b/buildstream/_frontend/widget.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_fuse/__init__.py b/buildstream/_fuse/__init__.py
index 3ef9d631f..a5e882634 100644
--- a/buildstream/_fuse/__init__.py
+++ b/buildstream/_fuse/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_fuse/hardlinks.py b/buildstream/_fuse/hardlinks.py
index d23f3fff6..4da51bb22 100644
--- a/buildstream/_fuse/hardlinks.py
+++ b/buildstream/_fuse/hardlinks.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Stavros Korokithakis
# Copyright (C) 2017 Codethink Limited
diff --git a/buildstream/_fuse/mount.py b/buildstream/_fuse/mount.py
index 3848ad305..0ab1ce715 100644
--- a/buildstream/_fuse/mount.py
+++ b/buildstream/_fuse/mount.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_loader/__init__.py b/buildstream/_loader/__init__.py
index dbc89ba83..a2c31796e 100644
--- a/buildstream/_loader/__init__.py
+++ b/buildstream/_loader/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_loader/loadelement.py b/buildstream/_loader/loadelement.py
index b270fbef8..065364a87 100644
--- a/buildstream/_loader/loadelement.py
+++ b/buildstream/_loader/loadelement.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_loader/loader.py b/buildstream/_loader/loader.py
index 9e4406bc6..42e7feef5 100644
--- a/buildstream/_loader/loader.py
+++ b/buildstream/_loader/loader.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_loader/metaelement.py b/buildstream/_loader/metaelement.py
index 7ba6ed0ed..16788e92b 100644
--- a/buildstream/_loader/metaelement.py
+++ b/buildstream/_loader/metaelement.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_loader/metasource.py b/buildstream/_loader/metasource.py
index 75e191595..3bcc21ec6 100644
--- a/buildstream/_loader/metasource.py
+++ b/buildstream/_loader/metasource.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_loader/types.py b/buildstream/_loader/types.py
index 9d96894c0..000925a6e 100644
--- a/buildstream/_loader/types.py
+++ b/buildstream/_loader/types.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_message.py b/buildstream/_message.py
index 9073e3803..32650450a 100644
--- a/buildstream/_message.py
+++ b/buildstream/_message.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_options/__init__.py b/buildstream/_options/__init__.py
index 7b8f36553..70bbe35aa 100644
--- a/buildstream/_options/__init__.py
+++ b/buildstream/_options/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_options/option.py b/buildstream/_options/option.py
index 9501a2bde..ffdb4d272 100644
--- a/buildstream/_options/option.py
+++ b/buildstream/_options/option.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_options/optionarch.py b/buildstream/_options/optionarch.py
index 2ced60935..13a691643 100644
--- a/buildstream/_options/optionarch.py
+++ b/buildstream/_options/optionarch.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_options/optionbool.py b/buildstream/_options/optionbool.py
index e0e1474d9..ffef55ca1 100644
--- a/buildstream/_options/optionbool.py
+++ b/buildstream/_options/optionbool.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_options/optioneltmask.py b/buildstream/_options/optioneltmask.py
index 46c7fcd62..09c2ce8c2 100644
--- a/buildstream/_options/optioneltmask.py
+++ b/buildstream/_options/optioneltmask.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_options/optionenum.py b/buildstream/_options/optionenum.py
index bc21bd81c..095b9c356 100644
--- a/buildstream/_options/optionenum.py
+++ b/buildstream/_options/optionenum.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_options/optionflags.py b/buildstream/_options/optionflags.py
index 84ecc1360..0271208d9 100644
--- a/buildstream/_options/optionflags.py
+++ b/buildstream/_options/optionflags.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_options/optionpool.py b/buildstream/_options/optionpool.py
index 70acd268e..f90fd820c 100644
--- a/buildstream/_options/optionpool.py
+++ b/buildstream/_options/optionpool.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_ostree.py b/buildstream/_ostree.py
index e40df5fb5..238c6b4db 100644
--- a/buildstream/_ostree.py
+++ b/buildstream/_ostree.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index a280c22ee..9f4504d3f 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016-2018 Codethink Limited
#
diff --git a/buildstream/_platform/__init__.py b/buildstream/_platform/__init__.py
index 49400c3f2..29a29894b 100644
--- a/buildstream/_platform/__init__.py
+++ b/buildstream/_platform/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_platform/linux.py b/buildstream/_platform/linux.py
index 26dafb995..fec512b0a 100644
--- a/buildstream/_platform/linux.py
+++ b/buildstream/_platform/linux.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_platform/platform.py b/buildstream/_platform/platform.py
index fc6a74bdd..29da33563 100644
--- a/buildstream/_platform/platform.py
+++ b/buildstream/_platform/platform.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_platform/unix.py b/buildstream/_platform/unix.py
index 6d7b46374..8b1d2ece7 100644
--- a/buildstream/_platform/unix.py
+++ b/buildstream/_platform/unix.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_plugincontext.py b/buildstream/_plugincontext.py
index 0be3de1b1..38d2231ba 100644
--- a/buildstream/_plugincontext.py
+++ b/buildstream/_plugincontext.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_profile.py b/buildstream/_profile.py
index 4d39cfc5e..40cd2ab7e 100644
--- a/buildstream/_profile.py
+++ b/buildstream/_profile.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_project.py b/buildstream/_project.py
index 9f42bf613..b568cf852 100644
--- a/buildstream/_project.py
+++ b/buildstream/_project.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016-2018 Codethink Limited
#
diff --git a/buildstream/_projectrefs.py b/buildstream/_projectrefs.py
index 83dd2619b..4009d7449 100644
--- a/buildstream/_projectrefs.py
+++ b/buildstream/_projectrefs.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_scheduler/__init__.py b/buildstream/_scheduler/__init__.py
index 14cdebf8e..80523db6f 100644
--- a/buildstream/_scheduler/__init__.py
+++ b/buildstream/_scheduler/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_scheduler/buildqueue.py b/buildstream/_scheduler/buildqueue.py
index 24a124b32..50ba312ff 100644
--- a/buildstream/_scheduler/buildqueue.py
+++ b/buildstream/_scheduler/buildqueue.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_scheduler/fetchqueue.py b/buildstream/_scheduler/fetchqueue.py
index 61055725d..24512bddb 100644
--- a/buildstream/_scheduler/fetchqueue.py
+++ b/buildstream/_scheduler/fetchqueue.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_scheduler/job.py b/buildstream/_scheduler/job.py
index b8b81f2a9..8b9af9393 100644
--- a/buildstream/_scheduler/job.py
+++ b/buildstream/_scheduler/job.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_scheduler/pullqueue.py b/buildstream/_scheduler/pullqueue.py
index f9928a342..b4f5b0d73 100644
--- a/buildstream/_scheduler/pullqueue.py
+++ b/buildstream/_scheduler/pullqueue.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_scheduler/pushqueue.py b/buildstream/_scheduler/pushqueue.py
index 8a68d5953..624eefd1d 100644
--- a/buildstream/_scheduler/pushqueue.py
+++ b/buildstream/_scheduler/pushqueue.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_scheduler/queue.py b/buildstream/_scheduler/queue.py
index 083822364..15caf8348 100644
--- a/buildstream/_scheduler/queue.py
+++ b/buildstream/_scheduler/queue.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_scheduler/scheduler.py b/buildstream/_scheduler/scheduler.py
index 25e1e6790..f8a66ae92 100644
--- a/buildstream/_scheduler/scheduler.py
+++ b/buildstream/_scheduler/scheduler.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_scheduler/trackqueue.py b/buildstream/_scheduler/trackqueue.py
index 2e7bc8b97..e48e1ae28 100644
--- a/buildstream/_scheduler/trackqueue.py
+++ b/buildstream/_scheduler/trackqueue.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_signals.py b/buildstream/_signals.py
index 9749e0d1a..f1e520d37 100644
--- a/buildstream/_signals.py
+++ b/buildstream/_signals.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/_site.py b/buildstream/_site.py
index f4780ef3d..ff169180f 100644
--- a/buildstream/_site.py
+++ b/buildstream/_site.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_sourcefactory.py b/buildstream/_sourcefactory.py
index dad3ddf68..88a130e10 100644
--- a/buildstream/_sourcefactory.py
+++ b/buildstream/_sourcefactory.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_stream.py b/buildstream/_stream.py
index 0680f2a1f..5013daf3b 100644
--- a/buildstream/_stream.py
+++ b/buildstream/_stream.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_variables.py b/buildstream/_variables.py
index b4c920a71..8299f1c1e 100644
--- a/buildstream/_variables.py
+++ b/buildstream/_variables.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/_versions.py b/buildstream/_versions.py
index a101106aa..4b1bc7ec2 100644
--- a/buildstream/_versions.py
+++ b/buildstream/_versions.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_workspaces.py b/buildstream/_workspaces.py
index 41b4e9f05..3f474b8ca 100644
--- a/buildstream/_workspaces.py
+++ b/buildstream/_workspaces.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/_yaml.py b/buildstream/_yaml.py
index 8954c7da9..bfd65865c 100644
--- a/buildstream/_yaml.py
+++ b/buildstream/_yaml.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/buildelement.py b/buildstream/buildelement.py
index 20c5e620f..ec05acbeb 100644
--- a/buildstream/buildelement.py
+++ b/buildstream/buildelement.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/element.py b/buildstream/element.py
index e876eb120..6fb826165 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016-2018 Codethink Limited
#
diff --git a/buildstream/plugin.py b/buildstream/plugin.py
index 0c216ed5d..29fe2cb11 100644
--- a/buildstream/plugin.py
+++ b/buildstream/plugin.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/plugins/elements/autotools.py b/buildstream/plugins/elements/autotools.py
index 93fc6be87..14d04d9a3 100644
--- a/buildstream/plugins/elements/autotools.py
+++ b/buildstream/plugins/elements/autotools.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016, 2018 Codethink Limited
#
diff --git a/buildstream/plugins/elements/cmake.py b/buildstream/plugins/elements/cmake.py
index 0b3de0143..8126a80ac 100644
--- a/buildstream/plugins/elements/cmake.py
+++ b/buildstream/plugins/elements/cmake.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016, 2018 Codethink Limited
#
diff --git a/buildstream/plugins/elements/compose.py b/buildstream/plugins/elements/compose.py
index 0769b8814..44a760215 100644
--- a/buildstream/plugins/elements/compose.py
+++ b/buildstream/plugins/elements/compose.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/plugins/elements/distutils.py b/buildstream/plugins/elements/distutils.py
index 30ba6892c..5201013c1 100644
--- a/buildstream/plugins/elements/distutils.py
+++ b/buildstream/plugins/elements/distutils.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/plugins/elements/filter.py b/buildstream/plugins/elements/filter.py
index ee9143ba7..22fddd14f 100644
--- a/buildstream/plugins/elements/filter.py
+++ b/buildstream/plugins/elements/filter.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/plugins/elements/import.py b/buildstream/plugins/elements/import.py
index c19a8bc36..93594b623 100644
--- a/buildstream/plugins/elements/import.py
+++ b/buildstream/plugins/elements/import.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/plugins/elements/junction.py b/buildstream/plugins/elements/junction.py
index 512c862ff..ee5ed24d5 100644
--- a/buildstream/plugins/elements/junction.py
+++ b/buildstream/plugins/elements/junction.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/plugins/elements/make.py b/buildstream/plugins/elements/make.py
index d8dff4c41..1f37cb412 100644
--- a/buildstream/plugins/elements/make.py
+++ b/buildstream/plugins/elements/make.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright Bloomberg Finance LP
#
diff --git a/buildstream/plugins/elements/makemaker.py b/buildstream/plugins/elements/makemaker.py
index eb4d96930..fccfaadab 100644
--- a/buildstream/plugins/elements/makemaker.py
+++ b/buildstream/plugins/elements/makemaker.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/plugins/elements/manual.py b/buildstream/plugins/elements/manual.py
index dbb799fb4..c7bdba95f 100644
--- a/buildstream/plugins/elements/manual.py
+++ b/buildstream/plugins/elements/manual.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/plugins/elements/modulebuild.py b/buildstream/plugins/elements/modulebuild.py
index 897430bae..5189af1a6 100644
--- a/buildstream/plugins/elements/modulebuild.py
+++ b/buildstream/plugins/elements/modulebuild.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/plugins/elements/pip.py b/buildstream/plugins/elements/pip.py
index e2f33b207..e62f713a6 100644
--- a/buildstream/plugins/elements/pip.py
+++ b/buildstream/plugins/elements/pip.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Mathieu Bridon
#
diff --git a/buildstream/plugins/elements/qmake.py b/buildstream/plugins/elements/qmake.py
index b0cd3f178..7896692a6 100644
--- a/buildstream/plugins/elements/qmake.py
+++ b/buildstream/plugins/elements/qmake.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/plugins/elements/script.py b/buildstream/plugins/elements/script.py
index fbc15bd78..4e422c5db 100644
--- a/buildstream/plugins/elements/script.py
+++ b/buildstream/plugins/elements/script.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/plugins/elements/stack.py b/buildstream/plugins/elements/stack.py
index f6903c933..087d4dac0 100644
--- a/buildstream/plugins/elements/stack.py
+++ b/buildstream/plugins/elements/stack.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/plugins/sources/bzr.py b/buildstream/plugins/sources/bzr.py
index b499d49d3..ba96f7e3a 100644
--- a/buildstream/plugins/sources/bzr.py
+++ b/buildstream/plugins/sources/bzr.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
# Copyright (C) 2017 Codethink Limited
#
# This program is free software; you can redistribute it and/or
diff --git a/buildstream/plugins/sources/deb.py b/buildstream/plugins/sources/deb.py
index 4948d1933..b142b888d 100644
--- a/buildstream/plugins/sources/deb.py
+++ b/buildstream/plugins/sources/deb.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
# Copyright (C) 2017 Codethink Limited
#
# This program is free software; you can redistribute it and/or
diff --git a/buildstream/plugins/sources/git.py b/buildstream/plugins/sources/git.py
index 44065ad8f..67490b744 100644
--- a/buildstream/plugins/sources/git.py
+++ b/buildstream/plugins/sources/git.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/plugins/sources/local.py b/buildstream/plugins/sources/local.py
index 673add1bf..e3b019f1a 100644
--- a/buildstream/plugins/sources/local.py
+++ b/buildstream/plugins/sources/local.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/plugins/sources/ostree.py b/buildstream/plugins/sources/ostree.py
index c77b3a77f..94fe5093f 100644
--- a/buildstream/plugins/sources/ostree.py
+++ b/buildstream/plugins/sources/ostree.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/plugins/sources/patch.py b/buildstream/plugins/sources/patch.py
index 88fb2d59c..4640de166 100644
--- a/buildstream/plugins/sources/patch.py
+++ b/buildstream/plugins/sources/patch.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright Bloomberg Finance LP
#
diff --git a/buildstream/plugins/sources/tar.py b/buildstream/plugins/sources/tar.py
index 324006b21..3cd47cb8f 100644
--- a/buildstream/plugins/sources/tar.py
+++ b/buildstream/plugins/sources/tar.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/plugins/sources/zip.py b/buildstream/plugins/sources/zip.py
index f167c3e63..9b47d7f78 100644
--- a/buildstream/plugins/sources/zip.py
+++ b/buildstream/plugins/sources/zip.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Mathieu Bridon
#
diff --git a/buildstream/sandbox/__init__.py b/buildstream/sandbox/__init__.py
index 7ee871cab..53e170fbd 100644
--- a/buildstream/sandbox/__init__.py
+++ b/buildstream/sandbox/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/sandbox/_config.py b/buildstream/sandbox/_config.py
index 8893e3faa..5debe24b2 100644
--- a/buildstream/sandbox/_config.py
+++ b/buildstream/sandbox/_config.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2018 Codethink Limited
#
diff --git a/buildstream/sandbox/_mount.py b/buildstream/sandbox/_mount.py
index 84ab30ada..1540d9d4f 100644
--- a/buildstream/sandbox/_mount.py
+++ b/buildstream/sandbox/_mount.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/sandbox/_mounter.py b/buildstream/sandbox/_mounter.py
index c039b31df..921d06bb6 100644
--- a/buildstream/sandbox/_mounter.py
+++ b/buildstream/sandbox/_mounter.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/sandbox/_sandboxbwrap.py b/buildstream/sandbox/_sandboxbwrap.py
index 798bcb690..3a0645aae 100644
--- a/buildstream/sandbox/_sandboxbwrap.py
+++ b/buildstream/sandbox/_sandboxbwrap.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/sandbox/_sandboxchroot.py b/buildstream/sandbox/_sandboxchroot.py
index 7f27f50d0..22e69d549 100644
--- a/buildstream/sandbox/_sandboxchroot.py
+++ b/buildstream/sandbox/_sandboxchroot.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/sandbox/sandbox.py b/buildstream/sandbox/sandbox.py
index c174c4adb..595b9e778 100644
--- a/buildstream/sandbox/sandbox.py
+++ b/buildstream/sandbox/sandbox.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/scriptelement.py b/buildstream/scriptelement.py
index a0b12eef5..46afda807 100644
--- a/buildstream/scriptelement.py
+++ b/buildstream/scriptelement.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2017 Codethink Limited
#
diff --git a/buildstream/source.py b/buildstream/source.py
index 387ed6a99..ec38ae8f2 100644
--- a/buildstream/source.py
+++ b/buildstream/source.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016 Codethink Limited
#
diff --git a/buildstream/utils.py b/buildstream/utils.py
index af5bac3fb..b81a6c852 100644
--- a/buildstream/utils.py
+++ b/buildstream/utils.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
#
# Copyright (C) 2016-2018 Codethink Limited
#