You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
761 B
26 lines
761 B
2 years ago
|
import sys, re, os
|
||
|
|
||
|
try:
|
||
|
from skbuild import setup
|
||
|
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="mshio",
|
||
|
version="0.0.1",
|
||
|
author="Qingnan Zhou",
|
||
|
author_email="qnzhou@adobe.com",
|
||
|
description="A tiny C++ library to read/write ASCII/binary MSH format files.",
|
||
|
url="https://github.com/qnzhou/MshIO",
|
||
|
license="Apache-2.0",
|
||
|
packages=['mshio'],
|
||
|
package_dir={'': 'python'},
|
||
|
cmake_install_dir="python/mshio",
|
||
|
include_package_data=True,
|
||
|
python_requires=">=3.8"
|
||
|
)
|