Skip to content

Commit 3b37faf

Browse files
committed
change command from python2.7 to python3
1 parent bcf02ff commit 3b37faf

File tree

7 files changed

+6
-8
lines changed

7 files changed

+6
-8
lines changed

buildscripts/osx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo "Creating OS X packages for Bitmessage."
1616

1717
export PYBITMESSAGEVERSION=$1
1818

19-
cd src && python2.7 build_osx.py py2app
19+
cd src && python3 build_osx.py py2app
2020

2121
if [[ $? = "0" ]]; then
2222
hdiutil create -fs HFS+ -volname "Bitmessage" -srcfolder dist/Bitmessage.app dist/bitmessage-v$1.dmg

packages/systemd/bitmessage.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Description=Bitmessage Daemon
33
After=network.target auditd.service
44

55
[Service]
6-
ExecStart=/usr/bin/python2 /usr/src/PyBitmessage/src/bitmessagemain.py
6+
ExecStart=/usr/bin/python3 /usr/src/PyBitmessage/src/bitmessagemain.py
77
ExecReload=/bin/kill -HUP $MAINPID
88
KillMode=process
99
Restart=on-failure

src/bitmessagecli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.7
1+
#!/usr/bin/python3
22
# -*- coding: utf-8 -*-
33
# pylint: disable=too-many-lines,global-statement,too-many-branches,too-many-statements,inconsistent-return-statements
44
# pylint: disable=too-many-nested-blocks,too-many-locals,protected-access,too-many-arguments,too-many-function-args

src/bitmessageqt/migrationwizard.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python2.7
21
from PyQt6 import QtGui, QtWidgets
32

43

src/bitmessageqt/settingsmixin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/python2.7
21
"""
32
src/settingsmixin.py
43
====================

src/build_osx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Building osx."""
22
import os
33
from glob import glob
4-
from PyQt4 import QtCore
4+
from PyQt6 import QtCore
55
from setuptools import setup
66

77
name = "Bitmessage"
@@ -32,7 +32,7 @@
3232
setup_requires=["py2app"],
3333
options=dict(
3434
py2app=dict(
35-
includes=['sip', 'PyQt4._qt'],
35+
includes=['sip', 'PyQt6._qt'],
3636
iconfile="images/bitmessage.icns"
3737
)
3838
)

src/pybitmessage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.7
1+
#!/usr/bin/python3
22

33
import os
44
import pkg_resources

0 commit comments

Comments
 (0)