Heads-up: master badly broken, syntaxerror in setup.py

(master)longs[matplotlib]> python setup.py
  File "setup.py", line 281
    (float(i) / len(filtered) * 100.0), end='\r')
                                           ^
SyntaxError: invalid syntax

Sorry, can't debug it right now...

f

It works in python3

The python statement in python2.7 (and 2.6) does not support the end argument.
Adding a "from __future__ import print_function" to the beginning of
setup.py seems to fix it.

Greetings Jens

···

On Thu, Nov 17, 2011 at 5:03 AM, Fernando Perez <fperez.net@...149...> wrote:

(master)longs[matplotlib]> python setup.py
File "setup.py", line 281
(float(i) / len(filtered) * 100.0), end='\r')
^
SyntaxError: invalid syntax

Sorry, can't debug it right now...

f

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

This should now be fixed.

Mike

···

On 11/17/2011 02:40 AM, Jens Nielsen wrote:

It works in python3

The python statement in python2.7 (and 2.6) does not support the end argument.
Adding a "from __future__ import print_function" to the beginning of
setup.py seems to fix it.

Greetings Jens

On Thu, Nov 17, 2011 at 5:03 AM, Fernando Perez<fperez.net@...149...> wrote:

(master)longs[matplotlib]> python setup.py
  File "setup.py", line 281
    (float(i) / len(filtered) * 100.0), end='\r')
                                           ^
SyntaxError: invalid syntax

Sorry, can't debug it right now...

f

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel