Commit Graph

24 Commits

Author SHA1 Message Date
un-pogaz ddfdc80d3a more misc recomendation (manual)
ruff 'PIE'
2025-01-24 11:14:22 +01:00
un-pogaz 19994000c9 use f-string instead of format call (extra-edit)
ruff 'UP030,UP032' --extend-exclude "src/calibre/*" !partial
2025-01-24 11:14:16 +01:00
un-pogaz 0560b429bf convert some legacy percent format (auto-fix)
ruff 'UP031'
2025-01-24 11:14:16 +01:00
Kovid Goyal 2288a26612 gui clean should remove the RCC file as well 2022-07-06 19:19:43 +05:30
Kovid Goyal 75859ba62b Ensure icons.rcc exists when running from develop 2022-07-06 19:19:43 +05:30
Kovid Goyal bffaacd3c2 Build a Qt resource file containing the icon themes generated from the actual image files
Loading from a resource file should be considerably faster
2022-07-06 19:19:42 +05:30
Kovid Goyal 24c460faec also upgrade code in setup folder 2022-01-08 12:15:18 +05:30
Kovid Goyal e99ab7e002 Dont import calibre.gui2 to build forms 2021-11-21 22:18:20 +05:30
Kovid Goyal 9ff27782de Remove useless __future__ imports
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal 29cd8d64ea Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal 47ed2df137 Various fixes for the latest py3 commit 2019-03-21 18:33:19 +05:30
Eli Schwartz 8aceae428e py3: make setup.py gui work
Apparently compileUi explicitly opens the file/buffer as unicode, not
bytes, and then writes a unicode header string (containing the source
file). So the previous attempt to use BytesIO was wrong in this case.

Also images.qrc is being constructed completely in the right here and
now from a bunch of unicode strings, so just use exactly that.
2019-03-20 23:56:30 -04:00
Kovid Goyal 2c80dc2aed Remove orphaned compiled forms when switching branches 2017-06-09 00:21:10 +05:30
Kovid Goyal 4bab1eeaa1 Fix #1687540 [calibre does not build reproducibly](https://bugs.launchpad.net/calibre/+bug/1687540) 2017-05-02 11:10:35 +05:30
Kovid Goyal ef09e886b3 Change all shebangs to use python2 2015-01-23 19:08:21 +05:30
Kovid Goyal efbd02bb2e be quiter when switching branches 2014-04-11 17:04:10 +05:30
Kovid Goyal 6c01b3cc67 Updated translations 2011-09-02 10:14:21 -06:00
Kovid Goyal 77e6d76e27 ... 2011-09-02 10:10:54 -06:00
Kovid Goyal ee3baf7dcf Fix --clean-all 2011-08-19 19:29:41 -06:00
Kovid Goyal c9aeb3fd09 IGN:Easier development environment using the binary build on windows 2009-09-26 11:28:28 -06:00
Kovid Goyal 1a532ea242 More commands ported tot he new setup framework 2009-09-08 17:33:58 -06:00
Kovid Goyal f9ff180347 Implement a check setup command that uses PyFlakes to check for various errors 2009-09-07 19:03:52 -06:00
Kovid Goyal 792c6b0b22 Refactored image access for new resources framework 2009-09-07 16:03:44 -06:00
Kovid Goyal 8a1de85fc3 Change references toimages.qrc 2009-09-07 13:30:01 -06:00