Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit d99a262

Browse files
trickeydanlovelydinosaur
authored andcommitted
Add type marker for PEP 561 (#70)
This indicates to type checker tools that typesystem has inline type hints. More information on this can be found at https://www.python.org/dev/peps/pep-0561/#id18
1 parent 758adaf commit d99a262

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def get_packages(package):
3939
author='Tom Christie',
4040
author_email='tom@tomchristie.com',
4141
packages=get_packages('typesystem'),
42+
package_data={'typesystem': ['py.typed']},
4243
install_requires=[],
4344
python_requires='>=3.6',
4445
classifiers=[
@@ -50,5 +51,6 @@ def get_packages(package):
5051
'Programming Language :: Python :: 3.6',
5152
'Programming Language :: Python :: 3.7',
5253
'Programming Language :: Python :: 3.8',
53-
]
54+
],
55+
zip_safe=False
5456
)

typesystem/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)