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
775f38fd
Unverified
Commit
775f38fd
authored
Aug 04, 2019
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix install command following the removal of the --develop option
parent
dc0324e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
poetry/console/commands/install.py
+0
-1
poetry/installation/installer.py
+0
-11
No files found.
poetry/console/commands/install.py
View file @
775f38fd
...
@@ -57,7 +57,6 @@ exist it will look for <comment>pyproject.toml</> and do the same.
...
@@ -57,7 +57,6 @@ exist it will look for <comment>pyproject.toml</> and do the same.
installer
.
extras
(
extras
)
installer
.
extras
(
extras
)
installer
.
dev_mode
(
not
self
.
option
(
"no-dev"
))
installer
.
dev_mode
(
not
self
.
option
(
"no-dev"
))
installer
.
develop
(
self
.
option
(
"develop"
))
installer
.
dry_run
(
self
.
option
(
"dry-run"
))
installer
.
dry_run
(
self
.
option
(
"dry-run"
))
installer
.
verbose
(
self
.
option
(
"verbose"
))
installer
.
verbose
(
self
.
option
(
"verbose"
))
...
...
poetry/installation/installer.py
View file @
775f38fd
...
@@ -43,7 +43,6 @@ class Installer:
...
@@ -43,7 +43,6 @@ class Installer:
self
.
_verbose
=
False
self
.
_verbose
=
False
self
.
_write_lock
=
True
self
.
_write_lock
=
True
self
.
_dev_mode
=
True
self
.
_dev_mode
=
True
self
.
_develop
=
[]
self
.
_execute_operations
=
True
self
.
_execute_operations
=
True
self
.
_lock
=
False
self
.
_lock
=
False
...
@@ -100,11 +99,6 @@ class Installer:
...
@@ -100,11 +99,6 @@ class Installer:
def
is_dev_mode
(
self
):
# type: () -> bool
def
is_dev_mode
(
self
):
# type: () -> bool
return
self
.
_dev_mode
return
self
.
_dev_mode
def
develop
(
self
,
packages
):
# type: (dict) -> Installer
self
.
_develop
=
[
canonicalize_name
(
p
)
for
p
in
packages
]
return
self
def
update
(
self
,
update
=
True
):
# type: (bool) -> Installer
def
update
(
self
,
update
=
True
):
# type: (bool) -> Installer
self
.
_update
=
update
self
.
_update
=
update
...
@@ -445,11 +439,6 @@ class Installer:
...
@@ -445,11 +439,6 @@ class Installer:
if
op
.
job_type
==
"uninstall"
:
if
op
.
job_type
==
"uninstall"
:
continue
continue
if
package
.
name
in
self
.
_develop
and
package
.
source_type
==
"directory"
:
package
.
develop
=
True
if
op
.
skipped
:
op
.
unskip
()
current_python
=
parse_constraint
(
current_python
=
parse_constraint
(
"."
.
join
(
str
(
v
)
for
v
in
self
.
_env
.
version_info
[:
3
])
"."
.
join
(
str
(
v
)
for
v
in
self
.
_env
.
version_info
[:
3
])
)
)
...
...
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