Port enforced-editing-wrapper to python 3

This commit is contained in:
Stefano Rivera 2019-09-04 13:20:35 -03:00
parent 071ff40f20
commit 05ce00a49a
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
#
# Copyright (C) 2011, Stefano Rivera <stefanor@ubuntu.com>
#

View File

@ -34,6 +34,7 @@ if sys.version_info[0] >= 3:
('share/bash-completion/completions', glob.glob("bash_completion/*")),
('share/man/man1', glob.glob("doc/*.1")),
('share/man/man5', glob.glob("doc/*.5")),
('share/ubuntu-dev-tools', ['enforced-editing-wrapper']),
]
else:
scripts = [
@ -57,9 +58,7 @@ else:
'ubuntu-upload-permission',
'update-maintainer',
]
data_files = [
('share/ubuntu-dev-tools', ['enforced-editing-wrapper']),
]
data_files = []
if __name__ == '__main__':
setup(