Snapcraft and pyproject.toml

I’m using a pyproject.toml file with pip the file is like this => https://raw.githubusercontent.com/Saphyel/tasker/master/pyproject.toml

to run it locally I use pip install . how do I do this with snapcraft ? do I need to override the build?