#  This code is a part of the Democratising Archival X-ray Astronomy (DAXA) module.
#  Last modified by David J Turner (turne540@msu.edu) 12/08/2024, 19:00. Copyright (c) The Contributors

from os import path

from setuptools import setup, find_packages

import versioneer

# Uses the README as the long description
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
    long_description = f.read()

setup(
    name='daxa',
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),
    packages=find_packages(),
    url='https://github.com/DavidT3/DAXA',
    license='BSD 3',
    author='David J Turner',
    author_email='turne540@msu.edu',
    description='Democratising Astronomy X-ray Archives (DAXA) is an easy-to-use Python module which enables '
                'the simple processing and reduction of archives of X-ray telescope observations.',
    long_description=long_description,
    long_description_content_type='text/markdown',
    setup_requires=[],
    install_requires=["numpy>=1.26.4", "astroquery>=0.4.7", "pandas>=2.2.2", "astropy>=6.1.2", "packaging>=24.1",
                      "tqdm>=4.66.4", "exceptiongroup>=1.0.4", "scipy>=1.14.0", "tabulate>=0.9.0", "unlzw3>=0.2.2",
                      "xga>=0.6.0"],
    include_package_data=True,
    python_requires='>=3.10'
)
