diff --git a/buildout.cfg b/buildout.cfg new file mode 100644 index 0000000000000000000000000000000000000000..db012640b714db1aafc5c2c5cdb19d0a440cf7a1 --- /dev/null +++ b/buildout.cfg @@ -0,0 +1,47 @@ +; -*- coding: utf-8 -*- +; Wed Feb 12 13:37:08 2020 + +[buildout] +parts = scripts + +develop = src/bob.bio.base + src/bob.bio.face + src/bob.bio.invert + src/bob.learn.tensorflow + src/bob.pipelines + src/timm + . + + + + +eggs = bob.bio.facexzoo + bob.bio.invert + bob.bio.base + bob.bio.face + bob.bio.invert + bob.learn.tensorflow + bob.pipelines + timm + + +extensions = bob.buildout + mr.developer + +newest = false +verbose = true +auto-checkout = * + + +[sources] + +bob.bio.base = git git@gitlab.idiap.ch:bob/bob.bio.base rev=8d70e55c15e3d2cdcafcfd92b11f138e2f30f5bb +bob.bio.face = git git@gitlab.idiap.ch:bob/bob.bio.face rev=3567e990d0e523ceb5d3f9598054d8a27d7f7000 +bob.learn.tensorflow = git git@gitlab.idiap.ch:bob/bob.learn.tensorflow rev=f420d1b322762c81b79f59fa103c4ad07713fd79 +bob.pipelines = git git@gitlab.idiap.ch:bob/bob.pipelines rev=d8162ffc4fa072a14a8a4d7ac3b558de464a56ef +timm = git git@github.com:rwightman/pytorch-image-models rev=1d01c2b68c90619b173d4675d9a283be2bd44a33 ;v0.3.3 + + +[scripts] +recipe = bob.buildout:scripts +dependent-scripts = true \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000000000000000000000000000000000000..77711a8aa25547d56404e668e69d3fb09278f6e7 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,17 @@ +[build-system] + requires = ["setuptools", "wheel", "bob.extension"] + build-backend = "setuptools.build_meta" + +[tool.isort] + profile = "black" + line_length = 80 + order_by_type = true + lines_between_types = 1 + +[tool.black] + line-length = 80 + +[tool.pytest.ini_options] +markers = [ + "slow: marks tests as slow (deselect with '-m \"not slow\"')", +] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..089f1abe678a25e3bdd9f06da16152d3b03da86f --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +setuptools +numpy +bob.extension \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000000000000000000000000000000000000..4d71eb3db640406d590699e0cd7aa16cf068a8f5 --- /dev/null +++ b/setup.py @@ -0,0 +1,57 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from setuptools import setup, dist +dist.Distribution(dict(setup_requires=['bob.extension'])) + +from bob.extension.utils import find_packages +from bob.extension.utils import load_requirements + +install_requires = load_requirements() + + +setup( + + name='bob.paper.iccv2023_face_ti', + version=open("version.txt").read().rstrip(), + description='New package', + + url='https://gitlab.idiap.ch/bob/bob.paper.iccv2023_face_ti', + license='BSD-3', + + # there may be multiple authors (separate entries by comma) + author='Hatef OTROSHI', + author_email='hatef.otroshi@idiap.ch', + + # you may add more keywords separating those by commas (a, b, c, ...) + keywords = "bob", + + long_description=open('README.md').read(), + + # leave this here, it is pretty standard + packages=find_packages(), + include_package_data=True, + zip_safe = False, + + install_requires=install_requires, + + entry_points={ + # add entry points (scripts, bob resources here, if any) + }, + + # check classifiers, add and remove as you see fit + # full list here: https://pypi.org/classifiers/ + # don't remove the Bob framework unless it's not a bob package + classifiers = [ + 'Framework :: Bob', + 'Development Status :: 4 - Beta', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: BSD-3', + 'Natural Language :: English', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Topic :: Scientific/Engineering :: Artificial Intelligence', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], + +) \ No newline at end of file diff --git a/version.txt b/version.txt new file mode 100644 index 0000000000000000000000000000000000000000..79d48fc4015cc8015db8c42188f074088e94ee37 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +0.0.1b0 \ No newline at end of file