luciasoftware/lucia

Use PBR for installation

Closed this issue · 6 comments

IMHO, setup.py files are ugly. Would there be interest in switching to PBR for installation? I'm more than happy to try and make it work myself, then submit a PR. ATM, it doesn't even seem possible to install the code from the next branch, and there's no requirements file or anything, so even for testing (especially for new developers), I reckon it would help.

hi.
Before doing that, please check this: https://python-poetry.org/docs/pyproject/
And this: https://www.python.org/dev/peps/pep-0517/

Essentially, you can just do

pip install .

or

pip install path/to/lucia

and that is it.

If you clone the repository based on the next branch (wihtout first cloning the master), the only relating file in there is pyproject.toml and poetry.lock

If you still see a setup.py, that would be because you are either on the master branch, or have a branch based on the master branch

Fair enough.
I myself use poetry in all my python projects, and urge everyone else to do the same.

I'm going to close this issue, if something else comes up relating to this, feel free to reopen :)
Thanks for your contribution!