Move ctt module out of lib/, remove useless shebangs, fix permissions

This commit is contained in:
fnux 2020-02-15 11:01:45 +01:00
parent e350c2e076
commit 80a4faa9ae
26 changed files with 1 additions and 6 deletions

View file

@ -25,9 +25,8 @@ import subprocess
import sys import sys
if __name__ == "__main__": if __name__ == "__main__":
# Ensure our /lib/ is included into PYTHON_PATH
here = os.path.dirname(os.path.realpath(__file__)) here = os.path.dirname(os.path.realpath(__file__))
lib = os.path.abspath(os.path.join(here, '../lib')) lib = os.path.abspath(os.path.join(here, '..'))
ctt_argv = [os.path.abspath(os.path.join(here, '../scripts/ctt'))] ctt_argv = [os.path.abspath(os.path.join(here, '../scripts/ctt'))]
orig_pythonpath = os.getenv('PYTHONPATH', "") orig_pythonpath = os.getenv('PYTHONPATH', "")

View file

@ -1,4 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# 2012 Nico Schottelius (nico-ctt at schottelius.org) # 2012 Nico Schottelius (nico-ctt at schottelius.org)

1
lib/ctt/listprojects.py → ctt/listprojects.py Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# 2012 Nico Schottelius (nico-ctt at schottelius.org) # 2012 Nico Schottelius (nico-ctt at schottelius.org)

1
lib/ctt/report.py → ctt/report.py Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# 2012-2018 Nico Schottelius (nico-ctt at schottelius.org) # 2012-2018 Nico Schottelius (nico-ctt at schottelius.org)

1
lib/ctt/tracker.py → ctt/tracker.py Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# 2012 Nico Schottelius (nico-ctt at schottelius.org) # 2012 Nico Schottelius (nico-ctt at schottelius.org)