diff --git a/pyproject.toml b/pyproject.toml index eeb9249371442e140b21959ee908c1910b8457b2..241aca34c43fcfd8318dff10ac905e92d108c821 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,39 +1,3 @@ [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" - -[project] -name = "PanACoTA" -authors = [ - {name = "Amandine PERRIN", email = "amandine.perrin@pasteur.fr"}, -] -description="Large scale comparative genomics tools: annotate genomes, do pangenome, core/persistent genome, align core/persistent families, infer phylogenetic tree." -requires-python = ">=3.7" -keywords = ["persistent genome", "pangenome", "bacteria", "Bioinformatics", "Comparative genomics", - "core genome", "phylogenetic tree", "alignment", "families"] -license = {text = "aGPL v3"} -classifiers = [ - "Environment :: Console", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: GNU Affero General Public License v3", - "Programming Language :: Python :: 3", - "Operating System :: OS Independent", - "Topic :: Scientific/Engineering :: Bio-Informatics", -] -dynamic = ["version", "readme", "dependencies", "optional-dependencies"] - -[tool.setuptools.dynamic] -version = {attr = "PanACoTA.__init__.__version__"} -readme = {file = ["README.md"]} -dependencies = {file = ["requirements.txt"]} -optional-dependencies = {dev = {file = ["requirements-dev.txt"]}} - -[project.scripts] -PanACoTA = "PanACoTA.bin.run_panacota:main" - -[tool.setuptools] -packages = ["PanACoTA"] - -[project.urls] -homepage = "https://github.com/gem-pasteur/PanACoTA" -documentation = "https://aperrin.pages.pasteur.fr/pipeline_annotation/html-doc/" diff --git a/setup.cfg b/setup.cfg index a1aa77db6e8c7f5effdc73402b434c382441b0f4..95f9594a6f200c66a8e6607e5c14a477776bc0e4 100755 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,56 @@ +[metadata] +version= attr: PanACoTA.__init__.__version__ +name = PanACoTA +author = Amandine PERRIN +author_email = amandine.perrin@pasteur.fr +description = Large scale comparative genomics tools: annotate genomes, do pangenome, core/persistent genome, align core/persistent families, infer phylogenetic tree. +long_description = file: README.md +long_description_content_type = text/markdown +home_page = https://github.com/gem-pasteur/PanACoTA +project_urls = + Documentation = https://aperrin.pages.pasteur.fr/pipeline_annotation/html-doc/ +license = aGPLv3 +license_files = COPYING +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: GNU Affero General Public License v3 (aGPL v3) + Operating System :: OS Independent + Environment :: Console + Intended Audience :: Science/Research + Topic :: Scientific/Engineering :: Bio-Informatics + +[options] +requires-python = ">=3.10" +install_requires = + termcolor + colorlog + progressbar2 + ncbi_genome_download >= 0.3.3 + numpy>=1.11 + scipy + matplotlib>=2.0.0 + biopython>=1.60 # only used for tree subcommand with fastme and quicktree... Comment this line if you do not want to use it +packages = find: + +[options.packages.find] +exclude = + build + tests + +[options.extras_require] +dev = + sphinx + sphinx_rtd_theme + numpydoc + pytest>=2.5.2 + pytest-cov>=1.6 + pytest-mpl>=0.8 + coverage>=4 + +[options.entry_points] +console_scripts = + PanACoTA=PanACoTA.bin.run_panacota:main + [test] local_freetype = True tests = True