Skip to content

Commit

Permalink
workflow update and another stubfix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
LemurPwned committed May 15, 2024
1 parent 92ff74b commit 32a50ac
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ on:
- 'examples/**'
- LICENSE
- mkdocs.yml
- setup.*
- docker/*

paths:
- core/
- python/
- cmtj/**/*.py
- 'requirements.txt'

pull_request:
branches: [ "master" ]
paths-ignore:
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include cmtj/__init__.pyi
include cmtj/**/*.pyi
include cmtj/py.typed
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")),
]
},
Expand Down

0 comments on commit 32a50ac

Please sign in to comment.