protocol/python-packages/install_editable
F. Eugene Aumson 4f17a251d3
Python publish for v3 (#2383)
* Remove pre-release suffixes from version numbers

* For wrapper test, pull latest ganache image first

* For wrapper test, unpin ganache, use beta snapshot

* In docs, advise using beta ganache snapshot

Because we haven't yet published the non-beta snapshot

* Unpin package interdependencies

* unpin tests from beta 0xorg/ganache-cli version

* use beta ganache snapshot

* Set release date in CHANGELOGs

* In testing deployment, stop testing pre-releases

* Include rmtree("build") in all clean commands

* Fix clean not cleaning what it thought it was

* In monorepo script, install pkgs 1st then dev deps

* Stop pinning ganache snapshot version

* In test setup, wait longer for mesh to start up

* Fix broken hyperlinks in docs

* fix missing \n that was breaking doc rendering

* In monorepo script comment, fix typo, and clarify
2019-12-04 08:42:00 -08:00

27 lines
960 B
Python
Executable File

#!/usr/bin/env python
"""Script to install all packages in editable mode (pip install -e .)."""
from os import path
import subprocess
# Install all packages, WITHOUT dev dependencies first, because some packages
# have dev-only dependencies on other local pacakges, to support tests and
# examples, and if we don't do this then those dev-only cross-dependencies will
# trigger premature dependency satisfaction, via PyPI rather than the local
# filesystem, completely messing up our "install."
subprocess.check_call(
(
path.join(".", "cmd_pkgs_in_dep_order.py") + " pip install -e ."
).split()
)
# Now that the dev-only cross-dependencies will be considered already
# satisfied, due to the previous installation of all the pacakges in the
# local filestystem, go ahead and install the (rest of the) dev dependencies.
subprocess.check_call(
(
path.join(".", "cmd_pkgs_in_dep_order.py") + " pip install -e .[dev]"
).split()
)