Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
3458f0ed
Unverified
Commit
3458f0ed
authored
Apr 13, 2020
by
Arun Babu Neelicattu
Committed by
GitHub
Apr 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect sdist builder call (#2302)
parent
440cff11
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
poetry/installation/pip_installer.py
+1
-5
No files found.
poetry/installation/pip_installer.py
View file @
3458f0ed
...
@@ -5,7 +5,6 @@ from io import open
...
@@ -5,7 +5,6 @@ from io import open
from
subprocess
import
CalledProcessError
from
subprocess
import
CalledProcessError
from
clikit.api.io
import
IO
from
clikit.api.io
import
IO
from
clikit.io
import
NullIO
from
poetry.repositories.pool
import
Pool
from
poetry.repositories.pool
import
Pool
from
poetry.utils._compat
import
encode
from
poetry.utils._compat
import
encode
...
@@ -179,7 +178,6 @@ class PipInstaller(BaseInstaller):
...
@@ -179,7 +178,6 @@ class PipInstaller(BaseInstaller):
from
poetry.core.masonry.builder
import
SdistBuilder
from
poetry.core.masonry.builder
import
SdistBuilder
from
poetry.factory
import
Factory
from
poetry.factory
import
Factory
from
poetry.utils._compat
import
decode
from
poetry.utils._compat
import
decode
from
poetry.utils.env
import
NullEnv
from
poetry.utils.toml_file
import
TomlFile
from
poetry.utils.toml_file
import
TomlFile
if
package
.
root_dir
:
if
package
.
root_dir
:
...
@@ -210,9 +208,7 @@ class PipInstaller(BaseInstaller):
...
@@ -210,9 +208,7 @@ class PipInstaller(BaseInstaller):
# file since pip, as of this comment, does not support
# file since pip, as of this comment, does not support
# build-system for editable packages
# build-system for editable packages
# We also need it for non-PEP-517 packages
# We also need it for non-PEP-517 packages
builder
=
SdistBuilder
(
builder
=
SdistBuilder
(
Factory
()
.
create_poetry
(
pyproject
.
parent
),)
Factory
()
.
create_poetry
(
pyproject
.
parent
),
NullEnv
(),
NullIO
()
)
with
open
(
setup
,
"w"
,
encoding
=
"utf-8"
)
as
f
:
with
open
(
setup
,
"w"
,
encoding
=
"utf-8"
)
as
f
:
f
.
write
(
decode
(
builder
.
build_setup
()))
f
.
write
(
decode
(
builder
.
build_setup
()))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment