Commit 30aa65fa authored by Andreas Tille's avatar Andreas Tille
Browse files

Needs more work from upstream

parent 7fd807c9
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
@@ -2,6 +2,45 @@ Description: Use 2to3 to port to Python3
Bug-Debian: https://bugs.debian.org/938330
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 05 Sep 2019 10:06:47 +0200
Comment: Attention: this is not fully working.  The build runs into

running build_scripts
creating build
creating build/scripts-3.7
Traceback (most recent call last):
  File "/usr/lib/python3.7/tokenize.py", line 385, in find_cookie
    line_string = line.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf0 in position 24: invalid continuation byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 43, in <module>
    cmdclass={'build': MakeBuild}
  File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 28, in run
    DistutilsBuild.run(self)
  File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.7/distutils/command/build_scripts.py", line 50, in run
    self.copy_scripts()
  File "/usr/lib/python3.7/distutils/command/build_scripts.py", line 82, in copy_scripts
    encoding, lines = tokenize.detect_encoding(f.readline)
  File "/usr/lib/python3.7/tokenize.py", line 426, in detect_encoding
    encoding = find_cookie(first)
  File "/usr/lib/python3.7/tokenize.py", line 390, in find_cookie
    raise SyntaxError(msg)
SyntaxError: invalid or missing encoding declaration for 'bin/ragout-maf2synteny'


--- a/ragout/assembly_graph/assembly_refine.py
+++ b/ragout/assembly_graph/assembly_refine.py