From a4cb29422f076fffa2399d8c88cefb43bba2bf58 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Oct 21 2022 15:00:05 +0000 Subject: Migrate from deprecated disutils to setuptools distutils will be removed from Python 3.12+ See https://peps.python.org/pep-0632/ setuptools try to figure out packages themselves and it fails when there are multiple files, so we supply an empty list to indicate we don't want this. --- diff --git a/setup.py b/setup.py index 1eb0399..728d471 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ Setup script import os import re -from distutils.core import setup +from setuptools import setup scriptfile = os.path.join(os.path.dirname(__file__), "gather_easyfix.py") @@ -45,4 +45,5 @@ A new contributor can thus consult this page and find a place/task she/he would download_url = '', url = 'https://fedorahosted.org/fedora-gather-easyfix/', scripts=['gather_easyfix.py'], + packages=[], )