186 Commits

Author SHA1 Message Date
un-pogaz
8d28380515 add/remove blank-line (extra-edit)
ruff 'E302,E303,E304,E305,W391'
2025-01-24 11:14:21 +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
Kovid Goyal
53b74283a4
sort imports in all python files 2024-03-30 13:02:22 +05:30
Kovid Goyal
ce370fa47f
... 2024-03-29 13:32:53 +05:30
Kovid Goyal
53337b5025
... 2024-03-29 13:21:48 +05:30
Kovid Goyal
c7250ed3aa
Move required python version into pyproject.toml 2024-03-29 13:17:09 +05:30
Ori Avtalion
6bc1831a84 Fix minimum required Python version in setup.py 2023-11-16 23:00:17 +02:00
Kovid Goyal
33353ef3a7
Dont use an f-string in check_version_info since it will cause a syntaxerror on older python 2021-09-30 13:44:56 +05:30
Kovid Goyal
bc61cf92d2
Merge branch 'setup-version-check' of https://github.com/keszybz/calibre 2021-09-30 13:20:20 +05:30
Zbigniew Jędrzejewski-Szmek
2d5322a645 setup: simplify version check
A tuple comparison is equivalent to the more complicated check,
and exit() is the same as raise SystemExit().
2021-09-30 08:56:17 +02:00
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
b333c10301
Require python >= 3.7 in setup.py 2020-08-22 18:47:29 +05:30
Kovid Goyal
ab6b724835
COmmnad ot make testing extension modules easier 2019-09-13 09:12:36 +05:30
Rromotpd
ede9b90eea
update setup.py
Changed '%x' to new format style
2019-01-31 14:28:01 +01:00
Kovid Goyal
4d4ffcff7c
Revert "Remove use of prints in the setup package since nowadays most systems are UTF-8 based anyway"
This reverts commit f4b358554942b1b13d4f07481a4767c527d94c70.
2018-09-28 09:44:41 +05:30
Kovid Goyal
f4b3585549
Remove use of prints in the setup package since nowadays most systems are UTF-8 based anyway 2018-09-10 19:55:49 +05:30
Kovid Goyal
1011731f51
... 2018-09-10 18:40:39 +05:30
Kovid Goyal
d62d9dc2e6
Allow setup.py to be run with python3 2018-09-10 15:57:25 +05:30
Kovid Goyal
da35f86fa9
pep8 2018-06-12 09:48:42 +05:30
Kovid Goyal
c028e96fee Make setup.py executable 2017-02-02 20:55:01 +05:30
Kovid Goyal
59a430f23a pep8 2017-02-01 10:24:19 +05:30
Kovid Goyal
91e69ce7e3 A spot of refactoring 2016-06-26 14:56:02 +05:30
Kovid Goyal
8b133bac43 Enable travis for OS X as well 2016-06-26 13:27:41 +05:30
Kovid Goyal
b8b205eaf5 Better error message when setup.py is run with python3 2016-05-13 16:37:05 +05:30
Kovid Goyal
ef09e886b3 Change all shebangs to use python2 2015-01-23 19:08:21 +05:30
Kovid Goyal
8cbdc8cbde ... 2013-05-03 00:32:45 +05:30
Kovid Goyal
aed8f4b31c ... 2011-04-21 16:13:48 -06:00
Kovid Goyal
ef06fbee81 Fix #3523 (Please re-add ./setup.py install --root option) and clean up install/post-install code. Post install now no longer runs in a separate process. 2009-09-27 10:20:36 -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
1ce7847d8d Fix setup commands help messages 2009-09-07 13:48:26 -06:00
Kovid Goyal
df9284b30d build and develop commands done 2009-09-06 19:45:40 -06:00
Kovid Goyal
c690bca24a IGN:Use launchpad branch to merge updated translations 2009-09-05 09:01:54 -06:00
Kovid Goyal
a6c071e7a8 IGN:Add libssl and libcrypto to the linux binary bundle 2009-09-04 13:58:06 -06:00
Kovid Goyal
b3df852724 IGN:calibre-x86_64 now build and runs on OS X Leopard 2009-09-03 19:08:17 -06:00
Kovid Goyal
1a8bb2f142 IGN:Various things needed to get calibre to build in Leopard 2009-09-01 17:29:46 -06:00
Kovid Goyal
fc9053e907 IGN:Switch back to old windows builder. Also fix some dependencies so the calibre binary runs again in Ubuntu 2009-08-28 10:53:07 -06:00
Kovid Goyal
a04024d455 IGN:New windows build system 2009-08-25 11:10:44 -06:00
Kovid Goyal
05f7f42400 IGN:Fix #2152 (Typo in GUI) 2009-08-24 08:44:58 -06:00
Kovid Goyal
53e7aa12f6 Various new Vietnamese news sources 2009-08-11 13:50:04 -06:00
Kovid Goyal
fbaa321738 Linux automounting: Remove dependency on pmount. Instead use custom mount helper. Linux distributors: Make sure calibre-mount-helper is installed setuid and setgid root 2009-08-09 09:40:38 -06:00
John Schember
10865f505d Detect qt include dir properly. Fix bug #3047: fall back to file name when reading metadata on device properly. 2009-08-02 11:12:17 -04:00
Kovid Goyal
929d74f718 Switch to using poppler to read PDF metadata. Hopefully is faster/more stable. Fixes #3041 (version 0.6.3 doesnt delete temp files) 2009-08-01 15:07:33 -06:00
Kovid Goyal
87d9abd1aa IGN:... 2009-07-24 20:56:03 -06:00
Kovid Goyal
f141863475 Updated translations and misc. fixes 2009-07-17 14:09:59 -06:00
Kovid Goyal
65e78bf1f1 winutil compiles again 2009-06-06 12:33:34 -07:00
Kovid Goyal
fab6127966 OS X builds again 2009-06-05 19:26:59 -07:00
Kovid Goyal
5d5c6041f9 Fix #2538 (Use $HOME/podofo subdirs if the dir exits) 2009-06-04 23:26:12 -07:00
Kovid Goyal
cc04191f80 Add command to upload betas 2009-06-02 16:52:53 -07:00