ufw

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

Proposed by Trevor Gamblin
Status: Rejected
Rejected by: Jamie Strandboge
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.
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I didn't see this before but this was recently done.

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
1=== modified file 'setup.py'
2--- setup.py 2021-09-19 07:36:05 +0000
3+++ setup.py 2022-03-02 18:45:39 +0000
4@@ -25,8 +25,8 @@
5 #
6
7 from __future__ import print_function
8-from distutils.command.install import install as _install
9-from distutils.core import setup
10+from setuptools.command.install import install as _install
11+from setuptools import setup
12 import errno
13 import os
14 import re

Subscribers

People subscribed via source and target branches