forked from xtensor-stack/xtensor-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (20 loc) · 723 Bytes
/
Copy pathsetup.py
File metadata and controls
24 lines (20 loc) · 723 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
from pathlib import Path
from setuptools_scm import get_version
from skbuild import setup
project_name = "xt"
this_directory = Path(__file__).parent
long_description = (this_directory / ".." / "README.md").read_text()
license = (this_directory / ".." / "LICENSE").read_text()
setup(
name=project_name,
description="xt - Python bindings of xtensor",
long_description=long_description,
version=get_version(root="..", relative_to=__file__),
license=license,
author="Tom de Geus",
url=f"ttps://github.com/xtensor-stack/{project_name}",
packages=[f"{project_name}"],
package_dir={"": "module"},
cmake_install_dir=f"module/{project_name}",
cmake_minimum_required_version="3.13",
)