Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-django-netfields
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Python Team
packages
python-django-netfields
Commits
f5562491
Commit
f5562491
authored
1 year ago
by
Michael Fladischer
Browse files
Options
Downloads
Patches
Plain Diff
Add patch to replace distutils with setuptools in preparation for Python 3.12.
parent
0b0ff5e6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/0001-Replace-distutils-with-setuptools-in-preparation-for.patch
+20
-0
20 additions, 0 deletions
...eplace-distutils-with-setuptools-in-preparation-for.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
21 additions
and
0 deletions
debian/patches/0001-Replace-distutils-with-setuptools-in-preparation-for.patch
0 → 100644
+
20
−
0
View file @
f5562491
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Wed, 20 Dec 2023 16:25:53 +0000
Subject: Replace distutils with setuptools in preparation for Python 3.12.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 7cecd87..a75a6ab 100755
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-from distutils.core import setup
+from setuptools import setup
import os
import sys
This diff is collapsed.
Click to expand it.
debian/patches/series
0 → 100644
+
1
−
0
View file @
f5562491
0001-Replace-distutils-with-setuptools-in-preparation-for.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment