Switch to new CI/CD configuration
We need to adapt this package to the new CI/CD and package format using citools: - [x] Modify `pyproject.toml`: - [x] Add information from `setup.py`, - [x] Add version from `version.txt`, - [x] Add requirements from `requirements.txt` and `conda/meta.yaml`, - [x] Empty `setup.py`: - Leave the call to `setup()` for compatibility, - [x] Remove `version.txt`, - [x] Put the `requirements.txt` content inside `extra-intersphinx.txt` - [x] Remove `requirements.txt`, - [x] Modify `conda/meta.yaml`, - [x] Import data from `pyproject.toml` (`name`, `version`, ...), - [x] Add the `source.path` field with value `..`, - [x] Add the `build.noarch` field with value `python`, - [x] Edit the `build.script` to only contain `"{{ PYTHON }} -m pip install {{ SRC_DIR }} -vv"`, - [x] Remove test and documentation commands and comments, - [x] Modify `.gitlab-ci.yml` to point to citools' `python.yml`, - Use the fields format instead of the URL, - [x] Move files to follow the `src` layout: - [x] the whole `bob` folder to `src/bob/`, - [x] all the tests in `tests/`, - [x] the test data files in `tests/data`, - [x] Edit the tests to load the data correctly, either with `os.path.join(os.path.basename(__file__), "data/xxx.txt")` or `pkg_resources.resource_filename(__name__, "data/xxx.txt")`, - [x] Activate the `packages` option in `settings -> general -> visibility` in the Gitlab project, - [x] Edit the latest doc badges to point to the `sphinx` directory in `doc/[...]/master`: - [x] in README.md, - [x] in the GitLab project settings, - [x] Edit the coverage badges to point to the doc's coverage directory: - [x] in README.md, - [x] in the GitLab project settings, - [ ] Ensure the CI pipeline passes. You can look at [bob.learn.em](https://gitlab.idiap.ch/bob/bob.learn.em) for an example of a ported package.
issue