Commit Graph

29 Commits

Author SHA1 Message Date
Mike Fährmann
af475a311b [scripts/release] reduce expected executable sizes 2025-12-20 10:47:20 +01:00
Mike Fährmann
22358b3d0a [release] update expected executable sizes (#8359) 2025-10-06 19:50:04 +02:00
Mike Fährmann
52ac3a7802 [release] build 'gallery-dl.exe' on Python 3.13 (#6684)
and rename the former Python 3.8 version to 'gallery-dl_x86.exe'.

Currently building with PyInstaller, as I wasn't able to get py2exe to
work in this environment, but the startup times are noticeably longer.

Considering switching to nuitka, maybe even for all standalone builds.
2025-02-01 19:58:51 +01:00
Mike Fährmann
2b46b82f9c [release] prevent overwriting ${CHANGELOG}.orig with truncated file
to avoid deleting most of CHANGELOG.md by accident when the release.sh
script gets interrupted halfway through, as happened during the v1.28.3
release in commit 7e8ca377fc
2025-01-12 18:05:35 +01:00
Mike Fährmann
a3fb03c943 [release] ensure executables have a minimum size
to prevent issues like #6699 from happening again
2024-12-23 16:07:41 +01:00
Mike Fährmann
601f5becc8 [version] add __variant__
Specifies origin and OS of executable files.
For example 'stable/windows'.
2024-05-27 21:37:01 +02:00
Mike Fährmann
28a795ca61 [build] include only the latest CHANGELOG entries
The CHANGELOG is now at a size where it takes up roughly 50kB or 10% of
an sdist or wheel package.
2024-04-03 23:25:36 +02:00
Mike Fährmann
4103eb9918 [build] generate sdist and wheel packages using 'build' module 2024-04-03 23:11:16 +02:00
Mike Fährmann
4ccdba8ccb [scripts] update release.py
build Linux binary in ubuntu22.04 VM
2024-03-11 21:35:50 +01:00
Mike Fährmann
43ca49c1b4 [github] add workflow to build and push docker images
heavily inspired by and adapted from
https://github.com/danbooru/danbooru/blob/master/.github/workflows/docker-build.yaml
2023-12-02 17:53:11 +01:00
Mike Fährmann
56db930c47 don't include 'toml' package in PyInstaller binary
My own system now has Python 3.11 with native TOML support.
2023-05-14 18:43:37 +02:00
Mike Fährmann
f424d1fc23 include more optional dependencies in PyInstaller executables
(#3907)

- pyyaml
- toml (for Python<3.11)
- secretstorage (on Linux)
2023-04-18 20:51:31 +02:00
Mike Fährmann
51e3b380ac update 'virtualenv' call in release.sh 2022-10-15 21:08:24 +02:00
Mike Fährmann
a53ec6d5fa do not add '## Unreleased' to chANGELOG
never gets used anyway
2022-03-14 15:35:47 +01:00
Mike Fährmann
c8414c9d95 build Linux executable in its own virtualenv 2022-02-16 03:56:48 +01:00
Mike Fährmann
a67e002f40 update docs/supportedsites
- use Markdown with inline HTML instead of reStructuredText
- move file from docs/supportedsites.rst to docs/supportedsites.md
- update Makefile, README, etc
2021-03-12 03:03:48 +01:00
Mike Fährmann
df9e40ab35 small updates to release.sh
- use git push --atomic
- update VM name
- rename (git|pypi)-upload
2020-12-26 19:01:35 +01:00
Mike Fährmann
e62ebb4643 update CHANGELOG before building sdist and wheel packages 2020-06-27 19:45:09 +02:00
Mike Fährmann
402025c3c3 fix some build issues
- use 'os.name' to decide between Windows/Linux build
- don't check Windows executable version number,
  since Wine fails to run the executable and causes release.sh to stop
2020-03-06 15:15:59 +01:00
Mike Fährmann
d4d8c1c01f update links to standalone executables in README.rst 2019-11-26 12:05:31 +01:00
Mike Fährmann
ce98a86c0e fix data file inclusion in source distributions 2019-11-09 00:47:13 +01:00
Mike Fährmann
166a721c19 include PyInstaller executable in release script 2019-04-17 12:44:45 +02:00
Mike Fährmann
e5f44a5160 add Makefile; include manpage&completion in setup.py (#150) 2019-03-24 11:03:02 +01:00
Mike Fährmann
7121eeae8b check supportedsites.rst in release script 2018-03-17 15:35:38 +01:00
Mike Fährmann
2c1adda784 update release.sh script
- update CHANGELOG on new releases
  - change issue references to actual links
  - replace "Unreleased" with new version and date
- fix filenames of old Windows executables

[no ci]
2017-11-08 17:47:52 +01:00
Mike Fährmann
92a11528d1 smaller changes 2017-06-28 09:42:49 +02:00
Mike Fährmann
398506da45 update release script 2017-05-22 08:47:58 +02:00
Mike Fährmann
e9b445a0f8 update release script 2017-03-31 17:04:44 +02:00
Mike Fährmann
2b9cf4fd83 add script to build and release new versions 2017-03-20 13:39:43 +01:00