diff --git a/pyproject.toml b/pyproject.toml index 26d787f..a860213 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,42 @@ requires = ["setuptools >= 52", "setuptools_scm >= 6.2", "Cython >= 0.29.20"] build-backend = "setuptools.build_meta" +[project] +name = "dnaio" +authors = [ + {name = "Marcel Martin", email = "marcel.martin@scilifelab.se"}, + {name = "Ruben Vorderman", email = "r.h.p.vorderman@lumc.nl"} +] +description = "Read and write FASTA and FASTQ files efficiently" +readme = "README.rst" +license = {text = "MIT"} +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: MIT License", + "Programming Language :: Cython", + "Programming Language :: Python :: 3", + "Topic :: Scientific/Engineering :: Bio-Informatics" +] +requires-python = ">3.7" +dependencies = [ + "xopen >= 1.4.0" +] +dynamic = ["version"] + +[project.optional-dependencies] +dev = [ + "Cython", + "pytest" +] + +[project.urls] +"Homepage" = "https://dnaio.readthedocs.io/" +"Changelog" = "https://dnaio.readthedocs.io/en/latest/changes.html" + +[tool.setuptools.exclude-package-data] +dnaio = ["*.pyx"] + [tool.setuptools_scm] write_to = "src/dnaio/_version.py" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 3b9bbbf..0000000 --- a/setup.cfg +++ /dev/null @@ -1,37 +0,0 @@ -[metadata] -name = dnaio -author = Marcel Martin -author_email = marcel.martin@scilifelab.se -url = https://dnaio.readthedocs.io/ -description = Read and write FASTA and FASTQ files efficiently -long_description = file: README.rst -long_description_content_type = text/x-rst -license = MIT -project_urls = - Changelog = https://dnaio.readthedocs.io/en/latest/changes.html -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Science/Research - License :: OSI Approved :: MIT License - Programming Language :: Cython - Programming Language :: Python :: 3 - Topic :: Scientific/Engineering :: Bio-Informatics - -[options] -python_requires = >=3.7 -package_dir = - =src -packages = find: -install_requires = - xopen >= 1.4.0 - -[options.packages.find] -where = src - -[options.package_data] -* = py.typed, *.pyi, *.h - -[options.extras_require] -dev = - Cython - pytest