-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove clikit
dependency on poetry
or vice versa
#17
Comments
I am trying to distribute a home brew cli tool and this is just driving me crazy. Clikit needs poetry to be built, and poetry depends on clikit.. A true dead lock here.. Do you have any suggestions ? |
I wonder if we can just use setuptools to build clikit. |
You can use @dephell to convert pyproject.toml to setup.py . Note it doesnt work (easily) on poetry' pyproject.toml - You need to edit its pyproject.toml c.f. dephell/dephell#330 . |
@MeteHanC python -m pip install build
python -m build ./clikit Alternatively, you can use core itself. Probably should get core to add a python -m pip install poetry-core
cd clikit
python -c "from poetry.core.masonry.api import build_wheel as b; b('.')" |
Referencing an issue from poetry:
python-poetry/poetry#1975
As per PEP517 circular references should be avoided with build dependencies.
For context: I need to be able to build a wheel from source and the circular dependency is preventing me from doing that.
Do you have a suggestions for breaking the cycle here?
The text was updated successfully, but these errors were encountered: