From 64557d2251f0d911c215eb743f6bfe8de8dfc042 Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Thu, 10 Jul 2025 11:01:18 +0100 Subject: [PATCH] avoid duplicate install of bin/offlineimap fixes install with newer versions of tools, which otherwise fails with `FileExistsError: File already exists` in installer/destinations.py write_file (duplicate install in pyproject.toml [project scripts]). I think this is the "Finally, the `bin/offlineimap` command is not used, so we probably can remove it" referred to in 4f5b252 (which wasn't done at the time but now seems to be required). --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 9bf3be1b..ec13aa0a 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,6 @@ packages=['offlineimap', 'offlineimap.folder', 'offlineimap.repository', 'offlineimap.ui', 'offlineimap.utils'], - scripts=['bin/offlineimap'], setup_requires=['setuptools>=18.5', 'wheel', 'imaplib2'], license=copyright + ", Licensed under the GPL version 2", install_requires=['distro',