mirror of https://github.com/dnomd343/klotski.git
Dnomd343
1 month ago
12 changed files with 76 additions and 36 deletions
@ -0,0 +1,7 @@ |
|||
cmake_minimum_required(VERSION 3.12) |
|||
|
|||
project(klotski_py_demo VERSION "0.0.1") |
|||
|
|||
add_subdirectory(src/project) |
|||
|
|||
install(TARGETS klotski_py DESTINATION .) |
@ -0,0 +1,8 @@ |
|||
include CMakeLists.txt |
|||
include README.md |
|||
include pyproject.toml |
|||
include setup.py |
|||
include src/klotski/__init__.py |
|||
recursive-include src/project * |
|||
recursive-exclude src/project/src/core_ffi/py_ffi/packing * |
|||
exclude MANIFEST.in |
@ -0,0 +1 @@ |
|||
# klotski python ffi |
@ -0,0 +1,8 @@ |
|||
[build-system] |
|||
requires = [ |
|||
"setuptools", |
|||
"scikit-build>=0.13", |
|||
"cmake", |
|||
"ninja", |
|||
] |
|||
build-backend = "setuptools.build_meta" |
@ -0,0 +1,13 @@ |
|||
from skbuild import setup |
|||
|
|||
setup( |
|||
name="py-klotski", |
|||
version="0.0.1", |
|||
description="klotski engine", |
|||
author="Dnomd343", |
|||
license="MIT", |
|||
packages=["klotski"], |
|||
package_dir={"": "src"}, |
|||
cmake_install_dir="src/klotski", |
|||
python_requires=">=3.9", |
|||
) |
@ -0,0 +1,3 @@ |
|||
from ._klotski import Cases, CommonCode, FastCal, Group, GroupUnion, ShortCode |
|||
|
|||
__all__ = ["Cases", "CommonCode", "FastCal", "Group", "GroupUnion", "ShortCode"] |
@ -0,0 +1 @@ |
|||
../../../../../../klotski/ |
Loading…
Reference in new issue