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 4
4
# SPDX-License-Identifier: Apache-2.0
5
5
from codecs import open
6
6
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
-
21
7
22
8
with open ('README.md' , 'r' , 'utf-8' ) as f :
23
9
readme = f .read ()
@@ -44,7 +30,6 @@ def run(self):
44
30
"Programming Language :: Python :: 3.8" ,
45
31
"Programming Language :: Python :: 3.9" , ],
46
32
python_requires = ">=3.7" ,
47
- cmdclass = {'install' : install },
48
33
install_requires = required ,
49
34
extras_require = {":python_version>'3.6'" : ["scanoss>=0.7.0" ],
50
35
":python_version<'3.7'" : ["dataclasses" , "scanoss" ]},
You can’t perform that action at this time.
0 commit comments