Commit 775f38fd by Sébastien Eustace

Fix install command following the removal of the --develop option

parent dc0324e5
...@@ -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"))
......
...@@ -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])
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment