"""A setuptools based setup module.

Run using:
    $ python -m pip install <flags> .

Most used flags:
    -e, --editable <path/url>
        Install a project in editable mode (i.e. setuptools “develop mode”)
        from a local project path or a VCS url.

    -v, --verbose
        Give more output.
"""

# pylint: disable=invalid-name

from pathlib import Path
from setuptools import find_packages, setup

here = Path(__file__).parent.absolute()  # pylint: disable=no-member

# Get the long description from the README file
with open(here / "README.md", encoding="utf-8") as f:
    long_description = f.read()

with open(here / "requirements.txt", encoding="utf-8") as f:
    requirements = f.read().splitlines()

setup(
    name="qiskit_metal",
    version="0.5.1",
    description="Qiskit Metal | for quantum device design & analysis",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/Qiskit/qiskit-metal",
    author="Qiskit Metal Development Team",
    author_email="qiskit@us.ibm.com",
    license="Apache 2.0",
    classifiers=[
        "License :: OSI Approved :: Apache Software License",
        "Intended Audience :: Developers",
        "Intended Audience :: Science/Research",
        "Operating System :: Microsoft :: Windows",
        "Operating System :: MacOS",
        "Operating System :: POSIX :: Linux",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
        "Programming Language :: Python :: 3.13",
        "Topic :: Scientific/Engineering",
    ],
    keywords="qiskit sdk quantum eda",
    packages=find_packages(),
    package_data={
        "": [
            "*.ui",
            "*.qrc",
            "_imgs/*.png",
            "_imgs/*.txt",
            "styles/*/style.qss",
            "styles/*/rc/*.png",
        ]
    },
    python_requires=">=3.10",
    install_requires=requirements,
    project_urls={
        "Bug Tracker": "https://github.com/Qiskit/qiskit-metal/issues",
        "Documentation": "https://qiskit-community.github.io/qiskit-metal/",
        "Source Code": "https://github.com/Qiskit/qiskit-metal",
    },
)
