File: import-command-from-distutils.core.patch

package info (click to toggle)
siconos 4.4.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 78,600 kB
  • sloc: cpp: 160,976; ansic: 129,998; fortran: 33,051; python: 20,958; xml: 1,244; sh: 385; makefile: 318
file content (20 lines) | stat: -rw-r--r-- 662 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Stephen Sinclair <radarsat1@gmail.com>
Date: Wed, 2 Sep 2020 06:32:50 +0000
Subject: Import Command from distutils.core

---
 wrap/setup.py.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wrap/setup.py.in b/wrap/setup.py.in
index 8be63b5..010a5b0 100644
--- a/wrap/setup.py.in
+++ b/wrap/setup.py.in
@@ -27,6 +27,7 @@ To get a full list of avaiable commands, read the output of:
 """
 from numpy.distutils.core import setup, Extension
 from numpy.distutils.command.build_py import build_py
+from distutils.core import Command
 from distutils.command.install_lib import install_lib
 from distutils import dir_util
 from distutils.core import Command