diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index b784570..c49b5e1 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -13,6 +13,15 @@ on: - 'examples/**' - LICENSE - mkdocs.yml + - setup.* + - docker/* + + paths: + - core/ + - python/ + - cmtj/**/*.py + - 'requirements.txt' + pull_request: branches: [ "master" ] paths-ignore: diff --git a/MANIFEST.in b/MANIFEST.in index fb6fd83..e9b0d40 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,2 @@ -include cmtj/__init__.pyi +include cmtj/**/*.pyi include cmtj/py.typed diff --git a/setup.py b/setup.py index 099e944..d6e7a77 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from setuptools import Extension, find_namespace_packages, setup from setuptools.command.build_ext import build_ext -__version__ = "1.5.3" +__version__ = "1.5.4" """ As per https://github.com/pybind/python_example @@ -144,9 +144,10 @@ def find_stubs(path: Path): ext_modules=ext_modules, include_package_data=True, namespace_packages=["cmtj"], - packages=find_namespace_packages(include=["cmtj.*"]), + packages=find_namespace_packages(include=["cmtj", "cmtj.*"]), package_data={ "cmtj": [ + "py.typed", *find_stubs(path=Path("cmtj")), ] },