forked from yasenh/sort-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (24 loc) · 671 Bytes
/
Copy pathsetup.py
File metadata and controls
27 lines (24 loc) · 671 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
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="cppsort",
version="0.0.2",
description="a minimal example package (with pybind11)",
author="Henry Schreiner",
license="MIT",
packages=find_packages(where="src"),
package_dir={"": "src"},
cmake_install_dir="src/cppsort",
include_package_data=True,
extras_require={"test": ["pytest"]},
python_requires=">=3.6",
)