From ffa6b0653509f7926d7f2dc6973efb2f14275544 Mon Sep 17 00:00:00 2001 From: MickaelRigault Date: Wed, 31 Jul 2024 18:50:41 +0200 Subject: [PATCH] moving back to setup.cfg --- pyproject.toml | 45 ----------------------------------------- setup.cfg | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 45 deletions(-) delete mode 100644 pyproject.toml create mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index f7fc560..0000000 --- a/pyproject.toml +++ /dev/null @@ -1,45 +0,0 @@ -[tool.poetry] -name = "ztfquery" -version = "1.27.4" -description = "Python package to access ZTF data" -authors = ["Mickael Rigault ", "Simeon Reusch "] -maintainers = ["Mickael Rigault ", "Simeon Reusch "] -license = "BSD-3-Clause" -repository = "https://github.com/mickaelrigault/ztfquery" -readme = "README.md" -classifiers = [ - "License :: OSI Approved :: BSD License", - "Operating System :: OS Independent", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", -] -keywords = ["astrophysics", "science", "astronomy", "ZTF", "IPAC"] - -[tool.poetry.dependencies] -python = ">=3.8" -pandas = ">=1.7" -numpy = ">=1.24" -astropy = ">=5.2" -matplotlib = ">=3.7" -requests = ">=2.28" - - -[tool.poetry.group.dev.dependencies] -pytest = ">=7.2" -coveralls = ">=3.3" -cryptography = ">=39.0" -dask = ">=2023.3" -shapely = ">=2.0" - -[tool.poetry.extras] - - -[build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" - -[tool.black] -line-length = 88 - - - diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..e8b5b2b --- /dev/null +++ b/setup.cfg @@ -0,0 +1,55 @@ +[metadata] +name = ztfquery +version = attr: ztfquery.__version__ +description = Python package to access ZTF data +long_description = file: README.rst +long_description_content_type = text/x-rst +author = Mickael Rigault +author_email = m.rigault@ipnl.in2p3.fr +license = Apache Software License +license_files = LICENSE +url = https://github.com/MickaelRigault/ztfquery +keywords = astronomy, astrophysics +classifiers = + Development Status :: 2 - Pre-Alpha + Intended Audience :: Science/Research + License :: OSI Approved :: Apache Software License + Programming Language :: Python :: 3 + Topic :: Scientific/Engineering :: Astronomy + Topic :: Scientific/Engineering :: Physics + +[options] +packages = find: +include_package_data = True +zip_safe = False +python_requires = >=3.8 +install_requires = + importlib_resources; python_version < '3.10' # not needed from 3.10 + + # basic + numpy + pandas + matplotlib + requests>=2.28 + shapely>=2.0 + cryptography>=39.0 + dask>=2023.3 + + # Astro + astropy + + # internal + ztffields>=0.4.3 + + +[options.package_data] +ztfquery = data/* + +[options.extras_require] +docs = nbsphinx +tests = pytest; coverage + +[build_sphinx] +source-dir = docs/ +build-dir = docs/_build +all_files = 1