Merge lp:~tgamblin/ufw/distutils-to-setuptools into lp:ufw

Proposed by Trevor Gamblin
Status: Needs review
Proposed branch: lp:~tgamblin/ufw/distutils-to-setuptools
Merge into: lp:ufw
Diff against target: 14 lines (+2/-2)
1 file modified
setup.py (+2/-2)
To merge this branch: bzr merge lp:~tgamblin/ufw/distutils-to-setuptools
Reviewer Review Type Date Requested Status
Jamie Strandboge Pending
Review via email: mp+416264@code.launchpad.net

Commit message

Convert setup.py to use setuptools replacements for distutils, since the latter is deprecated and will be removed as of Python 3.12.

To post a comment you must log in.

Unmerged revisions

1140. By Trevor Gamblin

Change setup.py to use setuptools replacements for distutils

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'setup.py'
--- setup.py 2021-09-19 07:36:05 +0000
+++ setup.py 2022-03-02 18:45:39 +0000
@@ -25,8 +25,8 @@
27from __future__ import print_function27from __future__ import print_function
28from distutils.command.install import install as _install28from setuptools.command.install import install as _install
29from distutils.core import setup29from setuptools import setup
30import errno30import errno
31import os31import os
32import re32import re


People subscribed via source and target branches