-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
35 lines (32 loc) · 1.06 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
from setuptools import setup, Extension
import os
def main():
# Folder that contains the header files
include_folder = "include"
# Folder that contains the C code
module_folder = "src"
# Files in module folder
source_files = [os.path.join(module_folder, file) for file in os.listdir(module_folder)]
setup(
name='QBAF-Py',
python_requires='>=3.8',
version='0.1.0',
description='QBAF-Py is a library for drawing inferences from Quantitative Bipolar Argumentation Frameworks (QBAFs) and explaining them.',
author='José Ruiz Alarcón, Timotheus Kampik',
packages=['qbaf_visualizer', 'qbaf_ctrbs'],
ext_modules=[Extension('qbaf',
include_dirs = [include_folder],
sources = source_files)],
extras_require={
'dev': [
'pytest'
],
'visualizer': [
'networkx',
'pygraphviz'
]
},
license='GPL-2'
)
if __name__ == '__main__':
main()