-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
43 lines (39 loc) · 1.55 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (c) 2021 LG Electronics
# SPDX-License-Identifier: Apache-2.0
from codecs import open
from setuptools import setup, find_packages
with open('README.md', 'r', 'utf-8') as f:
readme = f.read()
with open('requirements.txt', 'r', 'utf-8') as f:
required = f.read().splitlines()
if __name__ == "__main__":
setup(
name='fosslight_scanner',
version='2.1.0',
package_dir={"": "src"},
packages=find_packages(where='src'),
description='FOSSLight Scanner',
long_description=readme,
long_description_content_type='text/markdown',
license='Apache-2.0',
author='LG Electronics',
url='https://github.com/fosslight/fosslight_scanner',
download_url='https://github.com/fosslight/fosslight_scanner',
classifiers=['License :: OSI Approved :: Apache Software License',
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", ],
python_requires=">=3.8",
install_requires=required,
package_data={'fosslight_scanner': ['resources/bom_compare.html']},
entry_points={
"console_scripts": [
"fosslight = fosslight_scanner.cli:main",
"fosslight_scanner = fosslight_scanner.cli:main"
]
}
)