We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdbab46 commit 8b425eeCopy full SHA for 8b425ee
requirements.txt
@@ -1,5 +1,4 @@
1
pyparsing
2
-scancode-toolkit>=32.2.0
3
scanoss
4
XlsxWriter
5
fosslight_util>=2.1.0
setup.py
@@ -2,6 +2,7 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2021 LG Electronics
# SPDX-License-Identifier: Apache-2.0
+import platform
6
from codecs import open
7
from setuptools import setup, find_packages
8
@@ -11,6 +12,11 @@
11
12
with open('requirements.txt', 'r', 'utf-8') as f:
13
required = f.read().splitlines()
14
15
+if platform.system() == 'Darwin':
16
+ required.append('scancode-toolkit==32.0.*')
17
+else:
18
+ required.append('scancode-toolkit==32.2.*')
19
+
20
if __name__ == "__main__":
21
setup(
22
name='fosslight_source',
0 commit comments