Skip to content

Commit 201fe06

Browse files
authored
Merge pull request #102 from fosslight/revert-101-develop
Revert "Clear ScanCode cache after installation"
2 parents 06624c7 + bcd12fe commit 201fe06

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

setup.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,6 @@
44
# SPDX-License-Identifier: Apache-2.0
55
from codecs import open
66
from setuptools import setup, find_packages
7-
from distutils.command.install import install as _install
8-
9-
10-
def _post_install(dir):
11-
from subprocess import call
12-
call(['scancode', '--reindex-licenses'])
13-
14-
15-
class install(_install):
16-
def run(self):
17-
_install.run(self)
18-
self.execute(_post_install, (self.install_lib,),
19-
msg="Running post install task")
20-
217

228
with open('README.md', 'r', 'utf-8') as f:
239
readme = f.read()
@@ -44,7 +30,6 @@ def run(self):
4430
"Programming Language :: Python :: 3.8",
4531
"Programming Language :: Python :: 3.9", ],
4632
python_requires=">=3.7",
47-
cmdclass={'install': install},
4833
install_requires=required,
4934
extras_require={":python_version>'3.6'": ["scanoss>=0.7.0"],
5035
":python_version<'3.7'": ["dataclasses", "scanoss"]},

0 commit comments

Comments
 (0)