summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-04-27 20:53:13 -0700
committerJohn L. Villalovos <john@sodarock.com>2021-04-27 20:53:41 -0700
commite4421caafeeb0236df19fe7b9233300727e1933b (patch)
tree3f2b6cfb278c61d384066d97f008a5b6c0a05d32
parenta6b6cd4b598ab6eddcf3986486d43e5cdc990e09 (diff)
downloadgitlab-e4421caafeeb0236df19fe7b9233300727e1933b.tar.gz
feat: indicate that we are a typed package
By adding the file: py.typed it indicates that python-gitlab is a typed package and contains type-hints. https://www.python.org/dev/peps/pep-0561/
-rw-r--r--gitlab/py.typed0
-rw-r--r--setup.py1
2 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/py.typed b/gitlab/py.typed
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gitlab/py.typed
diff --git a/setup.py b/setup.py
index 95390a6..d4bf24c 100644
--- a/setup.py
+++ b/setup.py
@@ -27,6 +27,7 @@ setup(
url="https://github.com/python-gitlab/python-gitlab",
packages=find_packages(),
install_requires=["requests>=2.22.0", "requests-toolbelt>=0.9.1"],
+ package_data = {'gitlab': ['py.typed'], },
python_requires=">=3.6.0",
entry_points={"console_scripts": ["gitlab = gitlab.cli:main"]},
classifiers=[