Menu

#36 setup.py has inconsistent indentation and wrong version

None
closed-fixed
nobody
None
5
2015-11-06
2011-03-12
No

the setup.py in source tarball for 6.2.2 and 6.2.3 (+ possibly more) uses spaces and tabs.
this is not allowed in python 3 and will thus fail:

python3.1 setup.py install --root=tmp/
File "setup.py", line 15
if not self.install_data or (len(self.install_data) < 8) :
^
TabError: inconsistent use of tabs and spaces in indentation

also the version number in this file is still 6.2.0

Discussion

  • Julian Taylor

    Julian Taylor - 2014-03-09

    indentation is fixed in 6.2.5, but the version number is still set to 6.2.4

     
  • Barry Alan Scott

    I have fixed the version problem by read it from Version.hxx in setup.py.

     
  • Barry Alan Scott

    • status: open --> closed-fixed
    • Group: -->
     

Log in to post a comment.