-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (26 loc) · 928 Bytes
/
Copy pathsetup.py
File metadata and controls
29 lines (26 loc) · 928 Bytes
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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as f:
requirements = f.read().splitlines()
setuptools.setup(
name="dict_to_dataclass",
version="0.0.8",
author="Daniel Jack",
author_email="jackd68ed@googlemail.com",
description=(
"Utils for mapping dataclass fields to dictionary keys, making it possible to create an instance of a "
"dataclass from a dictionary."
),
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(exclude=("tests",)),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
install_requires=requirements,
url="https://github.com/jackd68ed/dict-to-dataclass",
)