Skip to content

Commit 005f956

Browse files
committed
dist: Add py.typed marker file (PEP 561)
1 parent 8ec8656 commit 005f956

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

setup.cfg

+6-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ url = https://github.comm/mpi4py/shmem4py
99
author = Lisandro Dalcin
1010
author_email = [email protected]
1111

12-
setup_requires = cffi>=1.13
13-
install_requires = cffi>=1.13,numpy>=1.12
12+
[options]
13+
setup_requires =
14+
cffi>=1.13
15+
install_requires =
16+
cffi>=1.13
17+
numpy>=1.12
1418
python_requires = >=3.7
1519

1620

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ def run(self):
3434
'shmem4py',
3535
],
3636
package_data = {
37-
'shmem4py' : ['api.pyi'],
37+
'shmem4py' : [
38+
'api.pyi',
39+
'py.typed',
40+
],
3841
},
3942
cffi_modules = [
4043
'shmem4py/src/api_build.py:ffibuilder',

shmem4py/py.typed

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Marker file for PEP 561.

0 commit comments

Comments
 (0)