Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collect stub files recursively when building stub-only package #18

Merged
merged 2 commits into from
Nov 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import re
from setuptools import setup

from setuptools import setup

tests_require = [
"pytest>=6.0.0",
Expand All @@ -16,14 +16,13 @@
flags=re.M | re.S,
)


setup(
name="lxml-stubs",
version="0.1.1",
description="Type annotations for the lxml package",
long_description=long_description,
long_description_content_type="text/markdown",
package_data={"lxml-stubs": ["*.pyi"]},
package_data={"lxml-stubs": ["*.pyi", "*/*.pyi"]},
packages=["lxml-stubs"],
tests_require=tests_require,
extras_require={"test": tests_require},
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extras = test
basepython = python3.7
deps =
black
isort[toml]
isort>=5
skip_install = true
commands =
isort --check-only --diff lxml-stubs
Expand Down