Skip to content

Commit

Permalink
Set shebang to configured python interpreter (#1015)
Browse files Browse the repository at this point in the history
Closes #887
  • Loading branch information
cschramm authored Apr 29, 2019
1 parent 9c02e63 commit f9663be
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 11 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ Makefile
/config.status
/libtool
/stamp-h1
/apps/blueman-adapters
/apps/blueman-applet
/apps/blueman-assistant
/apps/blueman-manager
/apps/blueman-mechanism
/apps/blueman-report
/apps/blueman-rfcomm-watcher
/apps/blueman-sendto
/apps/blueman-services
/apps/blueman-tray
/blueman/Constants.py
/data/configs/blueman-applet.service
/data/configs/blueman-mechanism.service
Expand Down
6 changes: 5 additions & 1 deletion apps/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ polkit_SCRIPTS = \
helpersdir = $(libexecdir)
helpers_SCRIPTS = blueman-rfcomm-watcher

EXTRA_DIST = $(APPS) $(polkit_SCRIPTS) $(helpers_SCRIPTS)
ALL_APPS = $(APPS) $(polkit_SCRIPTS) $(helpers_SCRIPTS)

EXTRA_DIST = $(ALL_APPS) $(addsuffix .in, $(ALL_APPS))

CLEANFILES = $(ALL_APPS)
2 changes: 1 addition & 1 deletion apps/blueman-adapters → apps/blueman-adapters.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# coding=utf-8
import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion apps/blueman-applet → apps/blueman-applet.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# coding=utf-8

import sys
Expand Down
2 changes: 1 addition & 1 deletion apps/blueman-assistant → apps/blueman-assistant.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# coding=utf-8
import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion apps/blueman-manager → apps/blueman-manager.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# coding=utf-8
import sys
import os
Expand Down
2 changes: 1 addition & 1 deletion apps/blueman-mechanism → apps/blueman-mechanism.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# coding=utf-8
import sys
import os
Expand Down
2 changes: 1 addition & 1 deletion apps/blueman-report → apps/blueman-report.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# coding=utf-8

import json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# coding=utf-8

from gi.repository import Gio
Expand Down
2 changes: 1 addition & 1 deletion apps/blueman-sendto → apps/blueman-sendto.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# coding=utf-8
import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion apps/blueman-services → apps/blueman-services.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# coding=utf-8

import os
Expand Down
2 changes: 1 addition & 1 deletion apps/blueman-tray → apps/blueman-tray.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# coding=utf-8
import logging
import os
Expand Down
11 changes: 11 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ AM_PATH_PYTHON([3.3])
PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
AC_SUBST(PYTHON_LIBS)
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON)

AC_ARG_ENABLE([runtime_deps_check],
AS_HELP_STRING([--disable-runtime-deps-check], [Disable runtime dependency check (for package maintainers)]),
Expand Down Expand Up @@ -241,6 +242,16 @@ GLIB_GSETTINGS
AC_OUTPUT([
Makefile
apps/Makefile
apps/blueman-adapters
apps/blueman-applet
apps/blueman-assistant
apps/blueman-manager
apps/blueman-mechanism
apps/blueman-report
apps/blueman-rfcomm-watcher
apps/blueman-sendto
apps/blueman-services
apps/blueman-tray
blueman/Makefile
blueman/Constants.py
blueman/bluez/Makefile
Expand Down

0 comments on commit f9663be

Please sign in to comment.