Skip to content

Commit

Permalink
Include stub files in "lxml.html" when building stub-only package (GH-18
Browse files Browse the repository at this point in the history
)

Thanks for noticing this.
  • Loading branch information
hoefling committed Nov 14, 2020
1 parent ca61dce commit 0355f47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions setup.py
@@ -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
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

0 comments on commit 0355f47

Please sign in to comment.