Tobias Gruetzmacher
62ce301ce9
Switch from appdirs to platformdirs
...
Additionally, this removes our hack to support XDG directories on
anything but UNIXy platforms. It was pretty brittle to begin with and
probably won't work on Windows at all with platformdirs...
2022-05-30 01:04:10 +02:00
Tobias Gruetzmacher
45436f1693
Switch to modern PEP-517/PEP-518 build
...
- Add pyproject.toml
- Remove setup.py
- Adopt tox & CI to modern structure
2022-04-08 01:24:58 +02:00
Tobias Gruetzmacher
6041c1e03b
Drop Python 2.6 support
2022-02-14 23:51:03 +01:00
Tobias Gruetzmacher
5ee888d889
Fix TLS verification for ComicsKingdom
...
It seems they can make the same error multiple times (see #132 ), so we
are explicit on which certificate we trust now (fixes #204 ).
2022-02-14 22:24:12 +01:00
Tobias Gruetzmacher
2e6b3d5f23
Test with Python 3.10
2021-10-17 14:22:31 +02:00
Tobias Gruetzmacher
9e1c73ed0a
Remove flake8-strings
...
Seems to be incompatible with current flake8 versions
2021-10-17 14:20:56 +02:00
Tobias Gruetzmacher
878504c3a8
Stay on older flake8 release for now
2021-10-17 14:12:42 +02:00
Tobias Gruetzmacher
2002a5f61a
Drop Python 3.5 support
2021-04-30 21:24:25 +02:00
Tobias Gruetzmacher
2b1dca8305
Downgrade flake8-functions
...
The newer release pulls in a new dependency which breaks my flake8
installation...
2021-01-18 01:25:34 +01:00
Tobias Gruetzmacher
bcc7f83ef8
Create Allure test reports
2020-11-23 00:30:06 +01:00
Tobias Gruetzmacher
848f051a89
Test on Python 3.9
2020-10-31 11:49:16 +01:00
Tobias Gruetzmacher
e64635e86b
Stricter style checking & related style fixes
2020-10-11 20:15:27 +02:00
Tobias Gruetzmacher
d487485815
Read scraper modules from user data directory
...
This allows users to add scrapers without setting up a complete Python
development environment.
2020-10-04 23:46:57 +02:00
Tobias Gruetzmacher
d93fed567c
Distribute PyInstaller hook
...
This uses a feature introduced in PyInstaller 4.0 to register hooks as
entry points and automatically discover them whenever a module is used.
2020-10-01 15:51:09 +02:00
Tobias Gruetzmacher
e98a1601ca
Remove workaround for libxml2 older 2.9.3 (2015)
...
This workaround was written in 2016 while that version was still found
on many systems. Addionally, this workaround needs to be enabled by the
developer, who might not even be aware that they need to enable it for a
specific module. We still throw a warning to the user if running with
such an old libxml version.
2020-09-29 21:16:48 +02:00
Tobias Gruetzmacher
b6631f5715
Don't install flake8-no-fstring on Python 3.5 :D
2020-09-28 22:52:39 +02:00
Tobias Gruetzmacher
0fe32e7562
Remove unused f-string
...
Since we still want to support Python 3.5 for a bit, we should avoid
f-strings until we finally drop support for that.
2020-09-28 22:19:48 +02:00
Tobias Gruetzmacher
5652b9cb23
Don't install some flake8 plugins on Python 3.5
...
They were never available in Python 3.5, so this breaks the CI build.
2020-09-27 20:38:06 +02:00
Tobias Gruetzmacher
65fa1f71e5
Move flake8 plugins to development dependencies
...
This makes it easier for developers to run flake8 in their development
virtualenv.
2020-09-27 18:49:46 +02:00
Tobias Gruetzmacher
ccd3c57977
setup-cfg-fmt
2020-04-12 20:39:26 +02:00
Tobias Gruetzmacher
40f105ad9b
Add more URLs to metadata
2020-04-12 13:05:00 +02:00
Tobias Gruetzmacher
9c65c3e05f
Drop Python 2 support: six & other imports
2020-02-03 01:03:31 +01:00
Tobias Gruetzmacher
c6cd914c5c
Drop Python 2 support: Build & testing
2020-02-02 23:47:19 +01:00
Tobias Gruetzmacher
c48d96d5e3
Use imagesize instead of Pillow to get image sizes
2020-01-04 15:59:49 +01:00
Tobias Gruetzmacher
7615ee60d1
Switch from pkg_resources to importlib
...
One dependency less (at least für Python 3.8+) and it should be faster
(not tested).
2019-12-05 21:40:45 +01:00
Tobias Gruetzmacher
18f8e093a7
Tests: Keep comics of the same module in the same process
...
This allows our host-based throttling to be effective and keeps
cross-process locks to a minimum.
2019-12-04 00:28:27 +01:00
Jakob Kogler
6fd3282047
Add comic "turnoff" ( closes #139 )
2019-12-01 21:46:00 +01:00
Tobias Gruetzmacher
f1fb85a744
Replace pbr with plain setuptools
2019-12-01 18:04:38 +01:00
Tobias Gruetzmacher
233328d495
Test with Python 3.8 (and drop support for 3.4)
2019-10-28 16:00:38 +01:00
Tobias Gruetzmacher
855e4d0614
Remove pytest-xdist in CI builds
...
It doesn't speed up tests that much and seems to conflict with coverage
in Python 3.7
2019-01-04 00:30:31 +01:00
Tobias Gruetzmacher
df18acf135
Add CI build for Python 3.7
2019-01-04 00:04:04 +01:00
Tobias Gruetzmacher
84553d37d4
Update copyright year.
2018-03-11 01:17:43 +01:00
Tobias Gruetzmacher
84f6981d51
Supported Python versions: 2.7, 3.4, 3.5, 3.6
2017-12-14 22:49:31 +01:00
Tobias Gruetzmacher
25f1b65315
Move test dependencies into setup.cfg.
2017-10-12 23:25:37 +02:00
Tobias Gruetzmacher
def2a2cf62
Python 3.6 was released, test it.
2017-01-12 01:38:59 +01:00
Tobias Gruetzmacher
9a6a310b76
Fixup copyright years.
2016-10-29 00:21:41 +02:00
Tobias Gruetzmacher
6d3f74142c
Move command line tool into package.
...
This way we can use the default Python console_scripts install process.
2016-05-16 14:57:47 +02:00
Tobias Gruetzmacher
1ff4902344
Use tox for testing.
2016-03-20 19:43:48 +01:00
Tobias Gruetzmacher
e78558fb9b
Make lxml a requirement.
...
With my last commit > 35% of supported comics use it ;)
2016-03-17 00:58:41 +01:00
Tobias Gruetzmacher
6532f15f54
Make pbr happy again.
2016-03-14 01:16:17 +01:00
Tobias Gruetzmacher
b819afec39
Switch build to PBR.
...
This gets us:
- Automatic changelog
- Automatic authors list
- Automatic git version management
2015-11-03 23:27:53 +01:00