-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
42 lines (35 loc) · 1004 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
34
35
36
37
38
39
40
41
42
import re
from setuptools import setup
tests_require = [
"coverage[toml]>=7.2.5",
"pytest>=7.3.0",
"pytest-mypy-plugins>=1.10.1",
"mypy>=1.2.0"
]
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.5.1",
description="Type annotations for the lxml package",
long_description=long_description,
long_description_content_type="text/markdown",
author="lxml dev team",
author_email="[email protected]",
maintainer="lxml dev team",
maintainer_email="[email protected]",
url="https://github.com/lxml/lxml-stubs",
package_data={"lxml-stubs": ["*.pyi", "*/*.pyi"]},
packages=["lxml-stubs"],
tests_require=tests_require,
extras_require={"test": tests_require},
zip_safe=False,
classifiers=[
"License :: OSI Approved :: Apache Software License",
],
)