Skip to content

Commit 97fcbbe

Browse files
authored
Add files for executable file
2 parents 8bc7c5c + da0de67 commit 97fcbbe

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

cli.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
# Copyright (c) 2020 LG Electronics Inc.
4+
# SPDX-License-Identifier: Apache-2.0
5+
from fosslight_oss_pkg.fosslight_oss_pkg import convert_report
6+
7+
if __name__ == '__main__':
8+
convert_report("", "", "")

hooks/hook-fosslight_reuse.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
# Copyright (c) 2021 LG Electronics Inc.
4+
# SPDX-License-Identifier: Apache-2.0
5+
from PyInstaller.utils.hooks import collect_all
6+
7+
datas, binaries, hiddenimports = collect_all('fosslight_reuse')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
url='https://github.com/fosslight/fosslight_reuse',
2626
download_url='https://github.com/fosslight/fosslight_reuse',
2727
classifiers=[
28-
"License :: OSI Approved :: Closed Source Software",
28+
"License :: OSI Approved :: Apache Software License",
2929
"Programming Language :: Python :: 3",
3030
"Programming Language :: Python :: 3.6",
3131
"Programming Language :: Python :: 3.7",
File renamed without changes.

src/fosslight_reuse/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import argparse
66
from ._help import _HELP_MESSAGE_REUSE
77
from ._fosslight_reuse import run_lint
8-
from fosslight_oss_pkg._fosslight_oss_pkg import convert_report
8+
from fosslight_oss_pkg.fosslight_oss_pkg import convert_report
99

1010

1111
def main():

0 commit comments

Comments
 (0)