Commit 1db4be14 authored by Fabien Amarger's avatar Fabien Amarger
Browse files

fix check-manifest

Use install_lib from setuptools instead of distutils
parent ec411345242b
Pipeline #90423 failed with stages
in 1 minute and 14 seconds
......@@ -21,8 +21,8 @@
import os
import sys
import shutil
from distutils.core import setup
from distutils import command
from setuptools.command.install_lib import install_lib
from setuptools import setup
from os.path import isdir, exists, join
from os import walk
......@@ -140,5 +140,5 @@
EMPTY_FILE = '"""generated file, don\'t modify or your data will be lost"""\n'
class BuildScripts(command.install_lib.install_lib):
class BuildScripts(install_lib):
def run(self):
......@@ -144,5 +144,5 @@
def run(self):
command.install_lib.install_lib.run(self)
install_lib.run(self)
# manually install included directories if any
if include_dirs:
base = join(modname)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment