forked from fosslight/fosslight_source_scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (38 loc) · 1.5 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
#!/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_source',
version='1.7.13',
package_dir={"": "src"},
packages=find_packages(where='src'),
description='FOSSLight Source Scanner',
long_description=readme,
long_description_content_type='text/markdown',
license='Apache-2.0',
author='LG Electronics',
url='https://github.com/fosslight/fosslight_source_scanner',
download_url='https://github.com/fosslight/fosslight_source_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,
entry_points={
"console_scripts": [
"fosslight_source = fosslight_source.cli:main",
"run_scancode = fosslight_source.run_scancode:main"
]
}
)