bin scripts to py3

This commit is contained in:
idziubenko 2021-08-09 10:14:21 +03:00
parent e8055da9e0
commit 54463071db
6 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2017 Mir Calculate. http://www.calculate-linux.org

View file

@ -1,4 +1,4 @@
#!/usr/bin/python2.7
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2012-2016 Mir Calculate. http://www.calculate-linux.org
@ -32,5 +32,5 @@ if __name__ == '__main__':
import calculate.console.console_main as console_main
console_main.console_main()
except ImportError as e:
print str(e)
print(e)
pass

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# Copyright 2017 Mir Calculate. http://www.calculate-linux.org
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Mir Calculate. http://www.calculate-linux.org

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Mir Calculate. http://www.calculate-linux.org

View file

@ -113,7 +113,7 @@ setup(
license = "http://www.apache.org/licenses/LICENSE-2.0",
data_files = (
('/usr/sbin', [('bin/cl-core',0o755)]),
('/usr/sbin', [('bin/cl-core_py3',0o755)]),
('/usr/sbin', [('bin/cl-core_py2',0o755)]),
('/etc/init.d', [('data/calculate-core',0o755)]),
('/usr/share/man/man1',glob('man/cl-*')),
('/usr/share/man/ru/man1',glob('man/ru/*')),