mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
Port enforced-editing-wrapper to python 3
This commit is contained in:
parent
071ff40f20
commit
05ce00a49a
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011, Stefano Rivera <stefanor@ubuntu.com>
|
# Copyright (C) 2011, Stefano Rivera <stefanor@ubuntu.com>
|
||||||
#
|
#
|
||||||
|
5
setup.py
5
setup.py
@ -34,6 +34,7 @@ if sys.version_info[0] >= 3:
|
|||||||
('share/bash-completion/completions', glob.glob("bash_completion/*")),
|
('share/bash-completion/completions', glob.glob("bash_completion/*")),
|
||||||
('share/man/man1', glob.glob("doc/*.1")),
|
('share/man/man1', glob.glob("doc/*.1")),
|
||||||
('share/man/man5', glob.glob("doc/*.5")),
|
('share/man/man5', glob.glob("doc/*.5")),
|
||||||
|
('share/ubuntu-dev-tools', ['enforced-editing-wrapper']),
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
scripts = [
|
scripts = [
|
||||||
@ -57,9 +58,7 @@ else:
|
|||||||
'ubuntu-upload-permission',
|
'ubuntu-upload-permission',
|
||||||
'update-maintainer',
|
'update-maintainer',
|
||||||
]
|
]
|
||||||
data_files = [
|
data_files = []
|
||||||
('share/ubuntu-dev-tools', ['enforced-editing-wrapper']),
|
|
||||||
]
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
setup(
|
setup(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user