Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.learn.em
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.learn.em
Commits
8c348661
Commit
8c348661
authored
2 years ago
by
André MAYORAZ
Browse files
Options
Downloads
Patches
Plain Diff
[ci] Adapted the config to use citools process instead of bdt
parent
eaa038ac
No related branches found
No related tags found
1 merge request
!68
Using citools package instead of bob devtools for the CI process
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+4
-1
4 additions, 1 deletion
.gitlab-ci.yml
doc/conf.py
+3
-0
3 additions, 0 deletions
doc/conf.py
pyproject.toml
+82
-1
82 additions, 1 deletion
pyproject.toml
setup.py
+2
-33
2 additions, 33 deletions
setup.py
with
91 additions
and
35 deletions
.gitlab-ci.yml
+
4
−
1
View file @
8c348661
include
:
'
https://gitlab.idiap.ch/bob/bob.devtools/raw/master/bob/devtools/data/gitlab-ci/single-package.yaml'
include
:
-
project
:
bob/citools
ref
:
master
file
:
/src/citools/data/python.yml
This diff is collapsed.
Click to expand it.
doc/conf.py
+
3
−
0
View file @
8c348661
...
...
@@ -2,10 +2,13 @@
# vim: set fileencoding=utf-8 :
import
os
import
sys
import
pkg_resources
# -- General configuration -----------------------------------------------------
# Adding the parent directory to the python path.
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
"
../
"
))
# If your documentation needs a minimal Sphinx version, state it here.
needs_sphinx
=
"
1.3
"
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
82
−
1
View file @
8c348661
[build-system]
requires
=
[
"setuptools"
,
"wheel"
,
"bob.extension"
]
requires
=
["setuptools
>
=
61.0
.
0
", "
wheel
"]
build-backend
=
"setuptools.build_meta"
[project]
name
=
"bob.learn.em"
requires-python
=
">
=
3.9
"
description
=
"Bindings for EM machines and trainers of Bob"
dynamic
=
[
"readme"
,
"version"
,
"dependencies"
]
license
=
{
text
=
"BSD 3-Clause License"
}
authors
=
[
{name
=
"Andre Anjos"
}
,
{email
=
"andre.anjos@idiap.ch"
}
,
]
keywords
=
[
"bob"
,
"em"
,
"expectation-maximization"
]
classifiers
=[
"Framework :: Bob"
,
"Development Status :: 4 - Beta"
,
"Intended Audience :: Developers"
,
"License :: OSI Approved :: BSD License"
,
"Natural Language :: English"
,
"Programming Language :: Python"
,
"Programming Language :: Python :: 3"
,
"Topic :: Software Development :: Libraries :: Python Modules"
,
]
[project.urls]
documentation
=
"https://www.idiap.ch/software/bob/docs/bob/bob.learn.em/stable/"
homepage
=
"https://pypi.org/project/bob.learn.em/"
repository
=
"https://gitlab.idiap.ch/bob/bob.learn.em"
changelog
=
"https://gitlab.idiap.ch/bob/bob.learn.em/-/releases"
[project.optional-dependencies]
qa
=
[
"pre-commit"
]
doc
=
[
"sphinx"
,
"sphinx_rtd_theme"
,
"sphinx-autodoc-typehints"
,
"sphinxcontrib-programoutput"
,
"matplotlib"
,
]
test
=
[
"pytest"
,
"pytest-cov"
,
"coverage"
,
]
[project.entry-points."bob.learn.em.test.config"]
first
=
"tests.data.basic_config"
first-a
=
"tests.data.basic_config:a"
first-b
=
"tests.data.basic_config:b"
second
=
"tests.data.second_config"
second-b
=
"tests.data.second_config:b"
second-c
=
"tests.data.second_config:c"
complex
=
"tests.data.complex"
complex-var
=
"tests.data.complex:cplx"
verbose-config
=
"tests.data.verbose_config"
error-config
=
"tests.data.doesnt_exist"
[tool.setuptools]
zip-safe
=
false
package-dir
=
{
""
=
"bob"
}
[tool.setuptools.dynamic]
readme
=
{
file
=
"README.rst"
}
version
=
{
file
=
"version.txt"
}
dependencies
=
{
file
=
"requirements.txt"
}
[tool.distutils.bdist_wheel]
universal
=
true
[tool.isort]
profile
=
"black"
line_length
=
80
...
...
@@ -10,3 +79,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.learn.em
",
]
junit_logging
=
"all"
junit_log_passing_tests
=
false
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
33
View file @
8c348661
#!/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.learn.em
"
,
version
=
open
(
"
version.txt
"
).
read
().
rstrip
(),
description
=
"
Bindings for EM machines and trainers of Bob
"
,
url
=
"
http://gitlab.idiap.ch/bob/bob.learn.em
"
,
license
=
"
BSD
"
,
author
=
"
Andre Anjos
"
,
author_email
=
"
andre.anjos@idiap.ch
"
,
keywords
=
"
bob, em, expectation-maximization
"
,
long_description
=
open
(
"
README.rst
"
).
read
(),
packages
=
find_packages
(),
include_package_data
=
True
,
zip_safe
=
False
,
install_requires
=
install_requires
,
classifiers
=
[
"
Framework :: Bob
"
,
"
Development Status :: 4 - Beta
"
,
"
Intended Audience :: Developers
"
,
"
License :: OSI Approved :: BSD License
"
,
"
Natural Language :: English
"
,
"
Programming Language :: Python
"
,
"
Programming Language :: Python :: 3
"
,
"
Topic :: Software Development :: Libraries :: Python Modules
"
,
],
)
setup
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment