-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
45 lines (42 loc) · 1.77 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
44
45
#!/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_util',
version='2.1.5',
package_dir={"": "src"},
packages=find_packages(where='src'),
description='FOSSLight Util',
long_description=readme,
long_description_content_type='text/markdown',
license='Apache-2.0',
author='LG Electronics',
url='https://github.com/fosslight/fosslight_util',
download_url='https://github.com/fosslight/fosslight_util',
classifiers=['License :: OSI Approved :: Apache Software License',
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", ],
install_requires=required,
package_data={'fosslight_util': ['resources/frequentLicenselist.json', 'resources/licenses.json']},
include_package_data=True,
extras_require={":python_version<'3.7'": ["pygit2==1.6.1"],
":python_version>='3.7'": ["pygit2>=1.10.1"]},
entry_points={
"console_scripts": [
"fosslight_download = fosslight_util.download:main",
]
}
)