forked from davidt0x/scikit_build_example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (24 loc) · 697 Bytes
/
setup.py
File metadata and controls
30 lines (24 loc) · 697 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
27
28
29
30
# -*- coding: utf-8 -*-
from __future__ import print_function
import sys
try:
from skbuild import setup
except ImportError:
print(
"Please update pip, you need pip 10 or greater,\n"
" or you need to install the PEP 518 requirements in pyproject.toml yourself",
file=sys.stderr,
)
raise
from setuptools import find_packages
setup(
name="scikit_build_example",
version="0.0.1",
description="a minimal example package (with pybind11)",
author="Henry Schreiner",
license="MIT",
packages=find_packages(where = 'src'),
package_dir={"": "src"},
cmake_install_dir="src/scikit_build_example",
include_package_data = True,
)