From bcd12feb3a2e26c259b14cd85e65b59cf77e49a1 Mon Sep 17 00:00:00 2001 From: Soim Date: Fri, 23 Dec 2022 20:01:50 +0900 Subject: [PATCH] Revert "Clear ScanCode cache after installation" --- setup.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/setup.py b/setup.py index 5ac7a62..8712aca 100644 --- a/setup.py +++ b/setup.py @@ -4,20 +4,6 @@ # SPDX-License-Identifier: Apache-2.0 from codecs import open from setuptools import setup, find_packages -from distutils.command.install import install as _install - - -def _post_install(dir): - from subprocess import call - call(['scancode', '--reindex-licenses']) - - -class install(_install): - def run(self): - _install.run(self) - self.execute(_post_install, (self.install_lib,), - msg="Running post install task") - with open('README.md', 'r', 'utf-8') as f: readme = f.read() @@ -44,7 +30,6 @@ def run(self): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", ], python_requires=">=3.7", - cmdclass={'install': install}, install_requires=required, extras_require={":python_version>'3.6'": ["scanoss>=0.7.0"], ":python_version<'3.7'": ["dataclasses", "scanoss"]},