-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (29 loc) · 958 Bytes
/
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
##
# Copyright 2021 IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
##
import setuptools
import pathlib
def parse_requirements(filename):
return pathlib.Path(filename).read_text().replace("==", ">=").split("\n")
setuptools.setup(
name="lnn",
version="1.0",
author="IBM Research",
description="A `Neuro = Symbolic` framework for weighted " "real-valued logic",
long_description=pathlib.Path("README.md").read_text(),
long_description_content_type="text/markdown",
url="https://github.com/IBM/LNN",
packages=setuptools.find_packages(),
install_requires=parse_requirements("requirements.txt"),
extras_require={
"test": parse_requirements("requirements_test.txt"),
"plot": parse_requirements("requirements_plot.txt"),
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
python_requires=">=3.9",
)