Skip to content
Snippets Groups Projects
pyproject.toml 2.94 KiB
Newer Older
#Build system backend to create package to upload on pypi
[build-system]
build-backend = "setuptools.build_meta"
requires = [
    "setuptools>=68.2.0",
    "setuptools_scm[toml]>=8.0.0",
    "build>=1.0.0"
]

# configuration of setuptools_scm to use tag version autoincrementation
# used last TAG version dernier
[tool.setuptools_scm]
write_to = "frangiPANe/_version.py"  #creer automatiquement
version_scheme = "release-branch-semver"
tag_regex = "^(\\d.\\d.\\d)-*\\w*\\d*$"
local_scheme = "no-local-version"

# define Project settings
[project]
name = "frangiPANe" #"culebrONT"
dynamic = ["version"]
description = """frangiPANe was developed as a modular and interactive application to simplify the construction of a panreference using the map-then-assembly approach. It consists in a Jupyter Notebook application that centralizes code,documentation and interactive visualizations together"""
authors = [
    { name = "Tranchant-Dubreuil Christine (IRD)", email = "christine.tranchant@ird.fr" },
]
maintainers = [
    { name = "Tranchant-Dubreuil Christine (IRD)", email = "christine.tranchant@ird.fr" },
]
                "biopython",
                "pysam",
                #"snakemake.utils",
                "pandas",       #TODO: SEB 17/11 => actualiser avec packages python / rules etc.
                "matplotlib",
                "seaborn",
                "snakecdysis>=0.1.0"
                #"setuptools>=68.2.0",
                #"nbformat"
requires-python = ">=3.8"
readme = "README.rst"
license = { file = "LICENSE" }
keywords = ["snakemake", "pangenomics", "workflow", "HPC"]
classifiers = [ #TODO : https://pypi.org/classifiers/
            'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
            'License :: CeCILL-C Free Software License Agreement (CECILL-C)',
            'License :: Free for non-commercial use',
            'Development Status :: 5 - Production/Stable',
            'Operating System :: POSIX :: Linux',
            'Programming Language :: Python :: 3.8',
            'Programming Language :: Python :: 3.9',
            'Programming Language :: R',
            'Natural Language :: English',
            'Topic :: Scientific/Engineering',
            'Topic :: Scientific/Engineering :: Bio-Informatics',
]

[project.urls] #TODO
Homepage = "https://forge.ird.fr/diade/frangipane"
Downloads = "https://forge.ird.fr/diade/frangipane/archive/"
"Bug Tracker" = "https://forge.ird.fr/diade/frangipane/issues"
Documentation = "https://frangipane.readthedocs.io/en/latest/"
"Source Code" = "https://forge.ird.fr/diade/frangipane"

[project.optional-dependencies]
dev = [
    "sphinx_click",
    "sphinx_copybutton",
    "sphinx_rtd_theme",
    "tox",
]

# setup scripts links
[project.scripts]
frangiPANe = "frangiPANe.main:main"
[project.entry-points.frangiPANe]
frangiPANe = "__init__"

# Try to link sphinx to file
[tool.sphinx]
source-dir = "docs/source"
build-dir = "docs/build"
config-dir = "docs/source"