Skip to content
Snippets Groups Projects
pyproject.toml 2.98 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"  #TODO: SEB 17/11 => creer automatiquement mais à ajouter dans .gitignore
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 = """blablabla"""
authors = [
    { name = "Tranchant-Dubreuil Christine (IRD)", email = "christine.tranchant@ird.fr" },
]
maintainers = [
    { name = "Tranchant-Dubreuil Christine (IRD)", email = "christine.tranchant@ird.fr" },
]
dependencies = ["pandas",       #TODO: SEB 17/11 => actualiser avec packages python / rules etc.
                "matplotlib",
                "tabulate",
                "ipython",
                "biopython",
                "pysam",
                "numpy",
                "snakecdysis>=0.1.0",
                "setuptools>=68.2.0",
                "nbformat"
]
requires-python = ">=3.8"
readme = "README.rst"
license = { file = "LICENCE" }
keywords = ["snakemake", "pangenomics", "workflow", "HPC"]
classifiers = [ #TODO
            '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',
            'Intended Audience :: Developers',
            'Intended Audience :: End Users/Desktop',
            'Operating System :: POSIX :: Linux',
            'Programming Language :: Python :: 3.6',
            'Programming Language :: Python :: 3.7',
            'Programming Language :: Python :: 3.8',
            'Programming Language :: Python :: 3.9',
            'Programming Language :: R',
            'Natural Language :: English',
            'Topic :: Scientific/Engineering',
            'Topic :: Scientific/Engineering :: Bio-Informatics',
            'Topic :: Software Development :: Assemblers'
]

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

[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"