Open Mec-iS opened 2 years ago
Outstanding, using poetry
would be a nice improvement for kglab
!
We have support for conda
(especially for the RAPIDS integration, e.g., cuGraph
, etc.) and there's a brief mention in the README for that.
@ceteri @Mec-iS are you wanting to move the KGLab package build to poetry?
we would like to provide different alternatives for installation, one of which can be poetry
. ideally the requirements definition should be same between requirements.txt
and pyproject.toml
Something less 2008-ish :)
It gets interesting to support a wider range of alternatives for installation, given that the RAPIDS parts can only be installed with conda
which is specifically configured through the NVIDIA release selector https://rapids.ai/start.html#get-rapids
That said, we don't want to become a conda-only package.
I'll do a bit of poking around and come back with some ideas for pipenv and poetry
I will update the readme with install instructions for poetry and pipenv to install as a pypi package to use in a project. I will also make updates to install the dev/test tutorial requirements with poetry and pipenv. I'll create a pyproject.toml for poetry and a Pipfile for pipenv.
Created https://github.com/DerwenAI/kglab/issues/275 to split changes
This is the related PR for this issue https://github.com/DerwenAI/kglab/pull/299
I'm submitting a
Current Behaviour:
Current installation is possible only with
pip
Expected Behaviour:
It may be good for accessibility to provide installation via
python-poetry
and suggest Anaconda in the README for people that preferconda
environmentscc: @ceteri