yukihiko-shinoda/yaml-dataclass-config

View on GitHub
setup.py

Summary

Maintainability
A
0 mins
Test Coverage
#!/usr/bin/env python
"""This module implements build settings."""

from setuptools import find_packages, setup  # type: ignore


def main():
    """This function implements build settings."""
    with open("README.md", "r", encoding="utf8") as file:
        readme = file.read()

    setup(
        author="Yukihiko Shinoda",
        author_email="yuk.hik.future@gmail.com",
        classifiers=[
            "Development Status :: 5 - Production/Stable",
            "Intended Audience :: Developers",
            "License :: OSI Approved :: MIT License",
            "Natural Language :: English",
            "Operating System :: OS Independent",
            "Programming Language :: Python",
            "Programming Language :: Python :: 3",
            "Programming Language :: Python :: 3.7",
            "Programming Language :: Python :: 3.8",
            "Topic :: Software Development",
            "Topic :: Software Development :: Quality Assurance",
            "Typing :: Typed",
        ],
        dependency_links=[],
        description="This project helps you to import config file writen by YAML to Python data class.",
        exclude_package_data={"": ["__pycache__", "*.py[co]", ".pytest_cache"]},
        include_package_data=True,
        install_requires=["dataclasses-json", "pyyaml"],
        keywords="yaml dataclass dataclasses config",
        long_description=readme,
        long_description_content_type="text/markdown",
        name="yamldataclassconfig",
        packages=find_packages(
            include=[
                "yamldataclassconfig",
                "yamldataclassconfig.*",
                "tests",
                "tests.*",
                "myproduct",
                "myproduct.*",
                "yourproduct",
                "yourproduct.*",
            ]
        ),
        package_data={"yamldataclassconfig": ["py.typed"], "tests": ["*"], "myproduct": ["*"], "yourproduct": ["*"]},
        python_requires=">=3.7",
        test_suite="tests",
        tests_require=["pytest>=3"],
        url="https://github.com/yukihiko-shinoda/yaml-dataclass-config",
        version="1.5.0",
        zip_safe=False,
    )


if __name__ == "__main__":
    main()