Skip to content

Commit 35c371d

Browse files
committed
add py.typed file
1 parent 2eae6c1 commit 35c371d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

dpath/py.typed

Whitespace-only changes.

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import os
2-
from distutils.core import setup
2+
from setuptools import setup
33

44
import dpath.version
55

@@ -25,6 +25,7 @@
2525
scripts=[],
2626
packages=["dpath"],
2727
data_files=[],
28+
package_data={"dpath": ["py.typed"]},
2829

2930
# Type hints are great.
3031
# Function annotations were added in Python 3.0.
@@ -43,6 +44,11 @@
4344
'License :: OSI Approved :: MIT License',
4445
'Natural Language :: English',
4546
'Programming Language :: Python :: 3',
47+
'Programming Language :: Python :: 3.7',
48+
'Programming Language :: Python :: 3.8',
49+
'Programming Language :: Python :: 3.9',
50+
'Programming Language :: Python :: 3.10',
4651
'Topic :: Software Development :: Libraries :: Python Modules',
52+
'Typing :: Typed',
4753
],
4854
)

0 commit comments

Comments
 (0)