-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (34 loc) · 1.05 KB
/
setup.py
File metadata and controls
38 lines (34 loc) · 1.05 KB
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
from setuptools import setup, Extension
import os
module = Extension(
"htps",
sources=[
"python/htps.cpp", "src/graph/htps.cpp", "src/graph/base.cpp",
"src/graph/graph.cpp", "src/env/core.cpp", "src/model/policy.cpp"
],
include_dirs=["src", "external/glob/single_include"],
runtime_library_dirs=[],
libraries=[],
extra_compile_args=["-std=c++20", "-O2", "-pedantic", "-DPYTHON_BINDINGS"],
extra_link_args=[],
define_macros=[],
)
directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="htps",
include_dirs=[],
setup_requires=[],
license="Apache-2.0",
license_files=("LICENSE",),
author="Simon Sorg",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
],
ext_modules=[module],
description="Open-source implementation of HyperTree Proof Search",
version="0.1.0",
)