Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

[![Build Status](https://github.com/FindDefinition/ccimport/workflows/build/badge.svg)](https://github.com/FindDefinition/ccimport/actions?query=workflow%3Abuild)

a tiny package for fast python c++ binding build.
A tiny package for fast python c++ binding build.

ccimport 0.2.x support python 3.5.
ccimport >= 0.3 support python 3.6-3.10.
ccimport >=0.4.5 support 3.10-3.13

## Usage

Expand Down
7 changes: 6 additions & 1 deletion ccimport/buildtools/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
from pathlib import Path
from typing import Any, Dict, List, Optional, Tuple, Type, Union

from ninja.ninja_syntax import Writer

try:
from ninja.ninja_syntax import Writer
except ImportError:
from ninja_syntax import Writer # from system ninja

from ccimport import compat
from ccimport.constants import get_compiler_map, CXX, CUDACXX, HIPCXX
from ccimport.buildmeta import BuildMeta
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
# What packages are required for this module to be executed?
REQUIRED = [
"pybind11",
"ninja",
"ninja_syntax",
"requests",
"importlib-metadata>=2.0; python_version < \"3.8\"",
"dataclasses; python_version == \"3.6\"",
"importlib-metadata>=2.0",
"dataclasses",
]

# What packages are optional?
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.4
0.4.5