Skip to content
  1. Mar 31, 2016
  2. Mar 26, 2016
  3. Feb 13, 2016
  4. Feb 11, 2016
  5. Oct 17, 2014
  6. Sep 17, 2014
  7. Sep 03, 2014
  8. Aug 19, 2014
  9. Jul 05, 2014
  10. May 19, 2014
  11. Mar 10, 2014
  12. Jan 08, 2014
  13. Jan 01, 2014
  14. Oct 08, 2013
  15. Aug 18, 2013
  16. Aug 03, 2013
  17. Jul 27, 2013
  18. Jul 21, 2013
  19. Jul 14, 2013
  20. Jun 27, 2013
  21. Jun 23, 2013
  22. Apr 25, 2013
  23. Apr 20, 2013
  24. Mar 26, 2013
  25. Mar 25, 2013
  26. Mar 18, 2013
  27. Mar 13, 2013
  28. Mar 09, 2013
  29. Mar 02, 2013
  30. Jan 25, 2013
  31. Nov 04, 2012
    • Adrien Kunysz's avatar
      setup.py: be less confusing when make is missing · 53b4cd71
      Adrien Kunysz authored and Romain Bignon's avatar Romain Bignon committed
      
      
      When make is missing, setup.py prints a message suggesting to install
      PyQt4-devel even if it already is. This change with the help of
      6788c11a6d63824862d340f82da9de46ef63ee60 makes the message more helpful.
      
      Before:
      $ python setup.py
      Building Qt applications
      Install PyQt4-devel or disable Qt applications (with --no-qt).
      
      After:
      $ python setup.py
      Building Qt applications
      Could not find executable: make
      Install missing component(s) (see above) or disable Qt applications (with --no-qt).
      
      Signed-off-by: default avatarAdrien Kunysz <adrien@kunysz.be>
      Signed-off-by: default avatarRomain Bignon <romain@symlink.me>
      53b4cd71
    • Adrien Kunysz's avatar
      setup.py: print what executable we were looking for · 24119de0
      Adrien Kunysz authored and Romain Bignon's avatar Romain Bignon committed
      The error message is sometimes confusing. Consider the following
      situation on Debian 6.0:
      
      $ python setup.py
      Building Qt applications
      Install PyQt4-devel or disable Qt applications (with --no-qt).
      $ dpkg -l | grep -i python | grep -i qt
      ii  python-qt4          4.7.3-1+b1         Python bindings for Qt4
      ii  python-qt4-dev      4.7.3-1            Development files for PyQt4
      
      What is really missing is the pyuic4 executable which is provided by
      a different package on that distribution. But you have no way to know
      that unless you go look into setup.py. This change prints what
      executable we are missing as to help diagnose this kind of problem:
      
      $ python setup.py
      Building Qt applications
      Could not find executable: pyuic4
      Install PyQt4-devel or disable Qt applications (with --no-qt).
      
      Notice that until e69adf35
      
      ,
      the name of the missing executable was printed as well.
      
      Signed-off-by: default avatarAdrien Kunysz <adrien@kunysz.be>
      Signed-off-by: default avatarRomain Bignon <romain@symlink.me>
      24119de0
  32. Oct 28, 2012
  33. Oct 18, 2012
    • Laurent Bachelier's avatar
      Simplify setup.py, support more distros · e69adf35
      Laurent Bachelier authored
      This should force Python 2 on Gentoo (though it worked with default
      config), and work again with Arch.
      The find_executable() function should work on POSIX and Windows
      platforms.
      It is also easily possible to override executables.
      Generally the code is shorter and PEP8 compliant.
      e69adf35