Skip to content
Snippets Groups Projects
Commit 468fe90a authored by André MAYORAZ's avatar André MAYORAZ Committed by Yannick DAYER
Browse files

Put requirements directly in pyproject.toml

parent 34b0b45c
No related branches found
No related tags found
1 merge request!69Cookiecutter restructuration
include LICENSE README.rst buildout.cfg develop.cfg requirements.txt version.txt include LICENSE README.rst develop.cfg
recursive-include doc conf.py *.rst recursive-include doc conf.py *.rst
recursive-include bob/learn/em *.cpp *.h recursive-include bob/learn/em *.cpp *.h
recursive-include bob/learn/em/data *.* recursive-include bob/learn/em/data *.*
...@@ -16,7 +16,7 @@ build: ...@@ -16,7 +16,7 @@ build:
# installs the documentation source, readme to share/doc so it is available # installs the documentation source, readme to share/doc so it is available
# during test time # during test time
- install -d "${PREFIX}/share/doc/{{ name }}" - install -d "${PREFIX}/share/doc/{{ name }}"
- cp -R README.rst requirements.txt doc "${PREFIX}/share/doc/{{ name }}/" - cp -R README.rst doc "${PREFIX}/share/doc/{{ name }}/"
requirements: requirements:
host: host:
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
version = "3.2.1b0" version = "3.2.1b0"
requires-python = ">=3.9" requires-python = ">=3.9"
description = "Bindings for EM machines and trainers of Bob" description = "Bindings for EM machines and trainers of Bob"
dynamic = ["readme", "dependencies"] dynamic = ["readme"]
license = {text = "BSD 3-Clause License"} license = {text = "BSD 3-Clause License"}
authors = [ authors = [
{name = "Andre Anjos"}, {name = "Andre Anjos"},
...@@ -25,6 +25,14 @@ ...@@ -25,6 +25,14 @@
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
] ]
dependencies = [
"setuptools",
"bob.extension",
"dask",
"dask-ml",
"h5py >= 3",
"scikit-learn",
]
[project.urls] [project.urls]
documentation = "https://www.idiap.ch/software/bob/docs/bob/bob.learn.em/stable/" documentation = "https://www.idiap.ch/software/bob/docs/bob/bob.learn.em/stable/"
...@@ -54,7 +62,6 @@ ...@@ -54,7 +62,6 @@
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
readme = {file = "README.rst"} readme = {file = "README.rst"}
dependencies = {file = "requirements.txt"}
[tool.distutils.bdist_wheel] [tool.distutils.bdist_wheel]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment