Convert project to a Poetry project
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 14 May 2020 19:22:09 +0000 (15:22 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 22 May 2020 15:08:49 +0000 (11:08 -0400)
commitf4286907a7e4fb3c1bdde713b59111b50de15d6e
treead3e2acc9096875bd34f3c2b67d088a72a3c6a4d
parent5262b54311117f92ab882f35a5337acff110c429
Convert project to a Poetry project

Poetry <https://python-poetry.org/> handles the build creation and
`setup.py` and `PKG-INFO` generation.

Poetry also handles dependencies and can create a corresponding virtual
environment having them installed.

Poetry can also publish.

`poetry.lock` was generated by `poetry install` and ensures this
specific version of barectf is tested with those specific versions of
the dependencies.

Setuptools is a run-time dependency for its `pkg_resources` package. I
use `*` for its version constraint because somehow Poetry needs
Setuptools itself so it skips this dependency (see
<https://github.com/python-poetry/poetry/issues/1584>). The `setuptools`
dependency still ends up in `setup.py`.

`tox.ini` is calibrated so that tox doesn't manage any dependency;
everything is done through Poetry (except `flake8` which doesn't need
barectf to be installed).

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
poetry.lock [new file with mode: 0644]
pyproject.toml [new file with mode: 0644]
requirements.txt [deleted file]
setup.py [deleted file]
test-requirements.txt [deleted file]
tox.ini
This page took 0.024398 seconds and 4 git commands to generate.