File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 44# SPDX-License-Identifier: Apache-2.0
55from codecs import open
66from 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
228with 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" ]},
You can’t perform that action at this time.
0 commit comments