File python-mechanize-setup.cfg.patch of Package python-mechanize
From a14ecec7abcd8da9b55d28a6d9ebfd89ce635615 Mon Sep 17 00:00:00 2001
From: Li-Wen Hsu <lwhsu@lwhsu.org>
Date: Mon, 25 Apr 2022 22:03:01 +0800
Subject: [PATCH] setup.cfg: Move packages def to options section
Fix packaging with older setuptools.
---
setup.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: mechanize-0.4.8/setup.cfg
===================================================================
--- mechanize-0.4.8.orig/setup.cfg
+++ mechanize-0.4.8/setup.cfg
@@ -8,7 +8,6 @@ license = BSD
description = Stateful, programmatic web browsing
long_description = file: README.rst
url = https://github.com/python-mechanize/mechanize
-packages = mechanize
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
@@ -37,6 +36,7 @@ classifiers =
Topic :: Text Processing :: Markup :: XML
[options]
+packages = mechanize
zip_safe = True
install_requires = html5lib>=0.999999999