Skip to content

Commit

Permalink
Fix pip error
Browse files Browse the repository at this point in the history
pip fails in production because it cannot find setuptools
(which is installed) and tries to connect it to pypi.

We add the --no-build-isolation option to allow pip to use the setuptools
installed in our python.
  • Loading branch information
leocardao committed Apr 18, 2024
1 parent 7f8d3a5 commit 244f3c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/e3/python/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def build(cls, source_dir: str, dest_dir: str, python_tag: str = "py3") -> Wheel
"wheel",
".",
"-q",
"--no-build-isolation",
"--no-deps",
f"-C--python-tag={python_tag}",
"-w",
Expand Down

0 comments on commit 244f3c8

Please sign in to comment.