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
47f52900
Unverified
Commit
47f52900
authored
Mar 20, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix call to venv binaries on windows
parent
91abdc34
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
CHANGELOG.md
+1
-0
poetry/utils/venv.py
+5
-2
No files found.
CHANGELOG.md
View file @
47f52900
...
...
@@ -7,6 +7,7 @@
-
Fixed built wheels not getting information from the virtualenv.
-
Fixed building wheel with conditional extensions.
-
Fixed missing files in built wheel with extensions.
-
Fixed call to venv binaries on windows
[
0.6.2
]
- 2018-03-19
...
...
poetry/utils/venv.py
View file @
47f52900
...
...
@@ -36,9 +36,12 @@ class Venv:
if
self
.
_venv
:
self
.
_venv
=
Path
(
self
.
_venv
)
self
.
_windows
=
sys
.
platform
==
'win32'
self
.
_bin_dir
=
None
if
venv
:
bin_dir
=
'bin'
if
sys
.
platform
!=
'win32'
else
'Scripts'
bin_dir
=
'bin'
if
not
self
.
_windows
else
'Scripts'
self
.
_bin_dir
=
self
.
_venv
/
bin_dir
self
.
_version_info
=
None
...
...
@@ -254,7 +257,7 @@ class Venv:
if
not
self
.
is_venv
():
return
bin
return
str
(
self
.
_bin_dir
/
bin
)
return
str
(
self
.
_bin_dir
/
bin
+
(
'.exe'
if
self
.
_windows
else
''
)
)
def
is_venv
(
self
)
->
bool
:
return
self
.
_venv
is
not
None
...
...
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