File: no-distutils.patch

package info (click to toggle)
pykml 0.2.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 932 kB
  • sloc: python: 3,916; makefile: 108
file content (23 lines) | stat: -rw-r--r-- 500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Don't use deprecated distutils module.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://github.com/tylere/pykml/pull/44

--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["setuptools"]
+build-backend = "setuptools.build_meta"
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,6 @@
 import sys, os
-try:
-    from setuptools import setup
-except ImportError:
-    from distutils.core import setup
+
+from setuptools import setup
 
 version = '0.2.0'