Skip to content

pydevtools-r42 requires Python3 #14

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1.
Try to build pydevtools-r42 egg with python2.5

c:\Python25\python.exe setup.py bdist_egg

What is the expected output? 
An egg
dist/DevTools-0.1.0-py2.5.egg

What do you see instead?

Syntax errors for Python3 mutable byte type literals.

byte-compiling build\bdist.win32\egg\bintools\dwarf\stream.py to stream.pyc
  File "build\bdist.win32\egg\bintools\dwarf\stream.py", line 97
    if c[0:1] == b'\x00': break
                       ^
SyntaxError: invalid syntax

...

byte-compiling build\bdist.win32\egg\bintools\elf\structs.py to structs.pyc
  File "build\bdist.win32\egg\bintools\elf\structs.py", line 13
    elf.constant(4, b"\x7fELF")
                             ^
SyntaxError: invalid syntax



What version of the product are you using? On what operating system?
pydevtools-r42

Microsoft Windows XP [Version 5.1.2600]



Original issue reported on code.google.com by david.ea...@googlemail.com on 1 Nov 2012 at 9:40

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions