-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (24 loc) · 818 Bytes
/
Copy pathsetup.py
File metadata and controls
26 lines (24 loc) · 818 Bytes
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
import sys, re, os
try:
from skbuild import setup
import nanobind
except ImportError:
print("The preferred way to invoke 'setup.py' is via pip, as in 'pip "
"install .'. If you wish to run the setup script directly, you must "
"first install the build dependencies listed in pyproject.toml!",
file=sys.stderr)
raise
setup(
name="typing_repro",
version="0.0.1",
author="Wenzel Jakob",
author_email="wenzel.jakob@epfl.ch",
description="An example minimal project that compiles bindings using nanobind and scikit-build",
url="https://github.com/wjakob/typing_repro",
license="BSD",
packages=['typing_repro'],
package_dir={'': 'src'},
cmake_install_dir="src/typing_repro",
include_package_data=True,
python_requires=">=3.8"
)