Skip to content

Commit ec9f68a

Browse files
committed
[stubs] install alongside implementation
1 parent 0b93433 commit ec9f68a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import os
44
from setuptools import setup
5+
import sys
56

67

78
def read(fname):
@@ -17,6 +18,10 @@ def read(fname):
1718
author_email="srittau@rittau.biz",
1819
url="https://github.com/srittau/python-asserts",
1920
py_modules=["asserts", "test_asserts"],
21+
data_files=[(
22+
"lib/python{}.{}/site-packages".format(*sys.version_info[:2]),
23+
["asserts.pyi"],
24+
)],
2025
license="MIT",
2126
classifiers=[
2227
"Development Status :: 3 - Alpha",

0 commit comments

Comments
 (0)