-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
30 lines (27 loc) · 971 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
"""Setup for typecats"""
# type: ignore
from setuptools import find_packages, setup # type: ignore
PKG_NAME = "typecats"
about = {} # type: ignore
exec(open(f"{PKG_NAME}/__about__.py").read(), about) # pylint: disable=exec-used
with open("README.md") as fh:
long_description = fh.read()
setup(
name=PKG_NAME,
version=about["__version__"],
author=about["__author__"],
author_email=about["__author_email__"],
url="https://github.com/xoeye/typecats",
description="Structure unstructured data for the purpose of static type checking",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
package_data={"": ["py.typed"]},
python_requires=">=3.7",
install_requires=[
"attrs == 21.4.0",
"cattrs == 22.1.0",
"typing_extensions >= 3.7",
],
# it is important to keep these install_requires basically in sync with the Pipfile as well.
)