Explicitly using python3.5.

This commit is contained in:
Andrew Hamilton 2017-02-08 13:56:56 +01:00
parent 3711a0b293
commit c25266c42b
18 changed files with 15 additions and 26 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.

2
gut.py
View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.

View file

@ -5,7 +5,7 @@ set -e
echo "Install the dependencies of the vigil script..." echo "Install the dependencies of the vigil script..."
sudo apt-get --yes install python3-minimal python3-pygments python3-pyinotify \ sudo apt-get --yes install python3.5 python3-minimal python3-pygments python3-pyinotify \
python3-docopt util-linux python3-docopt util-linux
echo echo
echo "Install all the tools vigil may need..." echo "Install all the tools vigil may need..."

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
import subprocess import subprocess

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# Copyright (C) 2011, 2015-2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2011, 2015-2017 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2017 Andrew Hamilton. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2017 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2017 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2017 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.

View file

@ -1,4 +1,3 @@
#!/usr/bin/python
# #
# Urwid __init__.py - all the stuff you're likely to care about # Urwid __init__.py - all the stuff you're likely to care about
# #

View file

@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Urwid escape sequences common to curses_display and raw_display # Urwid escape sequences common to curses_display and raw_display

View file

@ -1,4 +1,3 @@
#!/usr/bin/python
# #
# Urwid raw display module # Urwid raw display module
# Copyright (C) 2004-2009 Ian Ward # Copyright (C) 2004-2009 Ian Ward
@ -331,11 +330,3 @@ class Screen:
def _getch_nodelay(self): def _getch_nodelay(self):
return self._getch(0) return self._getch(0)
def _test():
import doctest
doctest.testmod()
if __name__=='__main__':
_test()

2
vigil
View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3.5
# Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Copyright (C) 2017 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.