Skip to content
Snippets Groups Projects
Commit 2d14e950 authored by André MAYORAZ's avatar André MAYORAZ
Browse files

[ci] changed ci process to dev-profile

parent 67e7189b
No related branches found
No related tags found
1 merge request!66Resolve "Switch to new CI/CD configuration"
include: 'https://gitlab.idiap.ch/bob/bob.devtools/raw/master/bob/devtools/data/gitlab-ci/single-package.yaml'
include:
- project: bob/dev-profile
ref: main
file: gitlab/python.yml
[build-system]
requires = ["setuptools", "wheel", "bob.extension"]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "bob.bio.vein"
version = "4.0.4b0"
requires-python = ">=3.9"
description = "Vein Recognition Library"
dynamic = ["readme"]
license = {text = "GPLv3 License"}
authors = [
{name = "Andre Anjos", email = "andre.anjos@idiap.ch"},
{name = "Pedro Tome", email = "pedro.tome@idiap.ch"},
]
keywords = ["bob", "biometric recognition", "evaluation", "vein"]
classifiers=[
"Framework :: Bob",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"setuptools",
"numpy",
"scipy",
"pillow",
"schema",
"docopt",
"scikit-image",
"matplotlib",
"bob.extension",
"bob.io.base",
"bob.bio.base",
]
[project.urls]
documentation = "https://www.idiap.ch/software/bob/docs/bob/bob.bio.vein/stable/"
homepage = "https://pypi.org/project/bob.bio.vein/"
repository = "https://gitlab.idiap.ch/bob/bob.bio.vein"
changelog = "https://gitlab.idiap.ch/bob/bob.bio.vein/-/releases"
[project.optional-dependencies]
qa = ["pre-commit"]
doc = [
"sphinx",
"sphinx_rtd_theme",
"sphinx-autodoc-typehints",
"auto-intersphinx",
"sphinxcontrib-programoutput",
]
test = [
"pytest",
"pytest-cov",
"coverage",
]
[tool.setuptools]
zip-safe = false
package-dir = {"" = "src"}
[tool.setuptools.dynamic]
readme = {file = "README.rst"}
[project.entry-points."bob.bio.config"]
# protocols (must be specified before the database in the cmd)
# utfvp
nom = "bob.bio.vein.config.database.utfvp_nom"
full = "bob.bio.vein.config.database.utfvp_full"
1vsall = "bob.bio.vein.config.database.utfvp_1vsall"
# legacy baselines
mc = "bob.bio.vein.config.maximum_curvature"
rlt = "bob.bio.vein.config.repeated_line_tracking"
wld = "bob.bio.vein.config.wide_line_detector"
# verafinger contactless
vera_nom = "bob.bio.vein.config.database.verafinger_contactless_nom"
[project.entry-points."bob.bio.database"]
utfvp = "bob.bio.vein.config.database.utfvp_nom:database"
verafinger_contactless = "bob.bio.vein.config.database.verafinger_contactless_nom:database"
[project.entry-points."bob.bio.pipeline"]
wld = "bob.bio.vein.config.wide_line_detector:pipeline"
mc = "bob.bio.vein.config.maximum_curvature:pipeline"
rlt = "bob.bio.vein.config.repeated_line_tracking:pipeline"
[project.scripts]
bob_bio_vein_compare_rois = "bob.bio.vein.script.compare_rois:main"
bob_bio_vein_view_sample = "bob.bio.vein.script.view_sample:main"
bob_bio_vein_blame = "bob.bio.vein.script.blame:main"
[tool.distutils.bdist_wheel]
universal = true
[tool.isort]
profile = "black"
line_length = 80
......@@ -10,3 +107,15 @@
[tool.black]
line-length = 80
[tool.coverage.run]
relative_files = true
[tool.pytest.ini_options]
addopts = [
"--import-mode=append",
"--cov-report=term-missing",
"--cov=bob.bio.vein",
]
junit_logging = "all"
junit_log_passing_tests = false
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
from setuptools import dist, setup
from setuptools import setup
dist.Distribution(dict(setup_requires=["bob.extension"]))
from bob.extension.utils import find_packages, load_requirements
install_requires = load_requirements()
setup(
name="bob.bio.vein",
version=open("version.txt").read().rstrip(),
description="Vein Recognition Library",
url="https://gitlab.idiap.ch/bob/bob.bio.vein",
license="GPLv3",
author="Andre Anjos,Pedro Tome",
author_email="andre.anjos@idiap.ch,pedro.tome@idiap.ch",
keywords="bob, biometric recognition, evaluation, vein",
long_description=open("README.rst").read(),
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
"bob.bio.config": [
# protocols (must be specified before the database in the cmd)
# utfvp
"nom = bob.bio.vein.config.database.utfvp_nom",
"full = bob.bio.vein.config.database.utfvp_full",
"1vsall = bob.bio.vein.config.database.utfvp_1vsall",
# legacy baselines
"mc = bob.bio.vein.config.maximum_curvature",
"rlt = bob.bio.vein.config.repeated_line_tracking",
"wld = bob.bio.vein.config.wide_line_detector",
# verafinger contactless
"vera_nom = bob.bio.vein.config.database.verafinger_contactless_nom",
],
"bob.bio.database": [
"utfvp = bob.bio.vein.config.database.utfvp_nom:database",
"verafinger_contactless = bob.bio.vein.config.database.verafinger_contactless_nom:database",
],
"bob.bio.pipeline": [
"wld = bob.bio.vein.config.wide_line_detector:pipeline",
"mc = bob.bio.vein.config.maximum_curvature:pipeline",
"rlt = bob.bio.vein.config.repeated_line_tracking:pipeline",
],
"console_scripts": [
"bob_bio_vein_compare_rois.py = bob.bio.vein.script.compare_rois:main",
"bob_bio_vein_view_sample.py = bob.bio.vein.script.view_sample:main",
"bob_bio_vein_blame.py = bob.bio.vein.script.blame:main",
],
},
classifiers=[
"Framework :: Bob",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
setup()
4.0.4b0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment