Skip to content

Commit ed5c35a

Browse files
committed
add "py.typed" file to support type checking (fix #273)
1 parent d69cc17 commit ed5c35a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

setup.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
from distutils.core import setup
2-
3-
from setuptools import find_packages
1+
from setuptools import find_packages, setup
42

53
import alive_progress
64

@@ -54,10 +52,11 @@ def get_readme():
5452
'Programming Language :: Python :: 3.13',
5553
'Programming Language :: Python :: 3.14',
5654
],
57-
keywords='progress bar progress-bar progressbar spinner eta monitoring python terminal '
58-
'multi-threaded REPL alive animated visual feedback simple live efficient monitor '
59-
'stats elapsed time throughput'.split(),
55+
keywords='progress bar progress-bar progressbar spinner eta monitoring python terminal'
56+
' multithreaded REPL alive animated visual feedback simple live efficient monitor'
57+
' stats elapsed time throughput'.split(),
6058
packages=find_packages(exclude=['tests*']),
59+
package_data={'alive_progress': ['py.typed']},
6160
data_files=[('', ['LICENSE'])],
6261
python_requires='>=3.9, <4',
6362
install_requires=['about_time==4.2.1', 'graphemeu==0.7.2'],

0 commit comments

Comments
 (0)