<gh_stars>0
"""Setup file used to install the CGDAT package, its dependencies and create a shortcut."""

# import modules #
import setuptools
import os

# Change current working directory to file directory
dirname = os.path.dirname(os.path.abspath(__file__))
os.chdir(dirname)

## Package requirements ##
requirements = [
    "pyqt5",
    "pandas",
    "numpy",
    "xlsxwriter",
    "winshell",
    "pywin32",
    "configobj",
]

# Only run if run as main script
if __name__ == "__main__":

    # Open Readme
    with open("README.rst", "r") as fh:
        long_description = fh.read()

    # Run setup function #
    setuptools.setup(
        name="cgdat",
        version="v2.4.2",
        author="<NAME>",
        author_email="<EMAIL>",
        description="A simple csv data analyse tool.",
        long_description=long_description,
        long_description_content_type="text/x-rst",
        url="https://github.com/rickstaa/CGDAT",
        download_url="https://github.com/rickstaa/CGDAT/archive/v2.4.2.tar.gz",
        packages=setuptools.find_packages(),
        entry_points={
            "console_scripts": [
                "cgdat-gui=cgdat.start_cl:main",
                "cgdat-shortcut=cgdat.create_shortcut_cl:main",
            ]
        },
        classifiers=[
            "Programming Language :: Python :: 3",
            "License :: OSI Approved :: MIT License",
            "Operating System :: OS Independent",
        ],
        install_requires=requirements,
        extras_require={
            "docs": [
                "sphinx",
                "sphinxcontrib-napoleon",
                "sphinx_rtd_theme",
                "sphinx-navtree",
                "sphinx-autobuild",
                "sphinxcontrib.yt",
                "docutils",
                "doc8",
                # "breathe==4.13.1",
            ],
            "dev": ["bumpversion", "pylint"],
        },
        package_data={"docs": ["docs/*"]},
        include_package_data=True,
    )


"""Setup file used to install the CGDAT package, its dependencies and create a shortcut."""

# import modules #
import setuptools
import os

# Change current working directory to file directory
dirname = os.path.dirname(os.path.abspath(__file__))
os.chdir(dirname)

## Package requirements ##
requirements = [
    "pyqt5",
    "pandas",
    "numpy",
    "xlsxwriter",
    "winshell",
    "pywin32",
    "configobj",
]

# Only run if run as main script
if __name__ == "__main__":

    # Open Readme
    with open("README.rst", "r") as fh:
        long_description = fh.read()

    # Run setup function #
    setuptools.setup(
        name="cgdat",
        version="v2.4.2",
        author="<NAME>",
        author_email="<EMAIL>",
        description="A simple csv data analyse tool.",
        long_description=long_description,
        long_description_content_type="text/x-rst",
        url="https://github.com/rickstaa/CGDAT",
        download_url="https://github.com/rickstaa/CGDAT/archive/v2.4.2.tar.gz",
        packages=setuptools.find_packages(),
        entry_points={
            "console_scripts": [
                "cgdat-gui=cgdat.start_cl:main",
                "cgdat-shortcut=cgdat.create_shortcut_cl:main",
            ]
        },
        classifiers=[
            "Programming Language :: Python :: 3",
            "License :: OSI Approved :: MIT License",
            "Operating System :: OS Independent",
        ],
        install_requires=requirements,
        extras_require={
            "docs": [
                "sphinx",
                "sphinxcontrib-napoleon",
                "sphinx_rtd_theme",
                "sphinx-navtree",
                "sphinx-autobuild",
                "sphinxcontrib.yt",
                "docutils",
                "doc8",
                # "breathe==4.13.1",
            ],
            "dev": ["bumpversion", "pylint"],
        },
        package_data={"docs": ["docs/*"]},
        include_package_data=True,
    )
Setup file used to install the CGDAT package, its dependencies and create a shortcut. # import modules # # Change current working directory to file directory ## Package requirements ## # Only run if run as main script # Open Readme # Run setup function # # "breathe==4.13.1",