Skip to content

Commit

Permalink
Implement PEP561
Browse files Browse the repository at this point in the history
  • Loading branch information
elarivie committed Jan 21, 2020
1 parent ba0549c commit 2babc11
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions readerwriterlock/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Marker file for PEP 561. The readerwriterlock package uses inline types.
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Setup."""

import os
from setuptools import setup, find_packages

Expand Down Expand Up @@ -34,8 +36,7 @@ def read(fname: str) -> str:
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',

# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
# Specify the Python versions supported here:
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
Expand All @@ -45,5 +46,7 @@ def read(fname: str) -> str:
'Tracker': 'https://github.com/elarivie/pyReaderWriterLock/issues'
},
install_requires=[],
python_requires='>=3'
python_requires='>=3',
zip_safe=False,
package_data={'readerwriterlock': ['py.typed']}
)

0 comments on commit 2babc11

Please sign in to comment.