forked from lxml/lxml-stubs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (29 loc) · 794 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import re
from setuptools import setup
tests_require = [
"coverage[toml]==5.2",
"pytest>=6.0.0",
"pytest-mypy-plugins==1.9.3"
]
with open("README.md") as fh:
long_description = re.sub(
"<!-- start-no-pypi -->.*<!-- end-no-pypi -->\n",
"",
fh.read(),
flags=re.M | re.S,
)
setup(
name="lxml-stubs",
version="0.4.0",
description="Type annotations for the lxml package",
long_description=long_description,
long_description_content_type="text/markdown",
package_data={"lxml-stubs": ["*.pyi", "*/*.pyi"]},
packages=["lxml-stubs"],
tests_require=tests_require,
extras_require={"test": tests_require},
classifiers=[
"License :: OSI Approved :: Apache Software License",
],
zip_safe=False
)