22 lines
497 B
Python
22 lines
497 B
Python
from pathlib import Path
|
|
|
|
from setuptools import Extension, setup
|
|
|
|
|
|
ROOT = Path(__file__).resolve().parent
|
|
|
|
setup(
|
|
name="go1_fast_lowcmd",
|
|
version="0.1.0",
|
|
description="Native CPython LowCmd builder/encrypter for go1_pro_sdk",
|
|
py_modules=["fast_lowcmd"],
|
|
ext_modules=[
|
|
Extension(
|
|
"go1_fast_lowcmd",
|
|
sources=[str(ROOT / "go1_fast_lowcmd.cpp")],
|
|
language="c++",
|
|
extra_compile_args=["-std=c++17", "-O3"],
|
|
)
|
|
],
|
|
)
|