Skip to content
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

pyproject.toml support for tools like poetry #93

Open
RobRoseKnows opened this issue Jul 10, 2019 · 5 comments
Open

pyproject.toml support for tools like poetry #93

RobRoseKnows opened this issue Jul 10, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@RobRoseKnows
Copy link

Separate issue from #82 as recommended. pyproject.toml is what's used by poetry and is the standard behind Pipfile.

@indygreg indygreg added the enhancement New feature or request label Jul 11, 2019
@nhoad
Copy link

nhoad commented Jul 12, 2019

@indygreg once this is done, will it mean that packages built using flit will be supported as well?

@dballweg
Copy link

dballweg commented Oct 5, 2019

Running into the issue with flit not being able to pip install inside pyoxidizer. I was able to get the pip install command that is generated to complete on my machine by putting PYTHONPATH=/usr/local/lib/python3.7/site-packages in front of the pip command. Is it possible to get the modified version of distutils to link setuptools from the site-packages so that flit can build?

@svandragt
Copy link

svandragt commented Jun 8, 2020

Until poetry is installed, my workflow is along the lines of:

poetry install
poetry export -f requirements.txt > src/requirements.txt
cd src
pyoxidizer run

After enabling the requirements.txt example inside the src/*.bzl file. If there are errors about pinning version hashes, add the provided version hash to the end of requirements.txt

@jacobsvante
Copy link

jacobsvante commented Feb 17, 2022

Is there any way to run poetry export whenever pyoxidizer build is called? It's easy to miss when adding new dependencies to poetry.

Or perhaps poetry export could be called whenever poetry dependencies change. Though that probably won't work until the 1.2 release is out, with its plugin support.

@martinmiglio
Copy link

Or perhaps poetry export could be called whenever poetry dependencies change.

could use the poetry export pre-commit hook, maybe...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants