core/homeassistant
Martin Hjelmare ba019c799a Make deps directory persistent over upgrades (#7801)
* Use pip install --user if venv not active

* Set PYTHONUSERBASE to deps directory, when installing with --user
  option.
* Reset --prefix option to workaround incompatability when installing
  with --user option. This requires pip version 8.0.0 or greater.
* Require pip version 8.0.3.
* Do not delete deps directory on home assistant upgrade.
* Fix local lib mount and check package exist.

* Update and add tests

* Fix upgrade from before version 0.46

* Extract function to get user site

* Add function(s) to package util to get user site.
* Use async subprocess for one of the functions to get user site.
* Add function to package util to check if virtual environment is
  active.
* Add and update tests.

* Update version for last removal of deps dir

* Address comments

* Rewrite package util tests with pytest

* Rewrite all existing unittest class based tests for package util as
  test functions, and capitalize pytest fixtures.
* Add test for installing with target inside venv.
2017-07-13 19:26:21 -07:00
..
components Update frontend 2017-07-13 09:22:15 -07:00
helpers Add support for Prometheus (#8211) 2017-07-10 21:20:17 -07:00
scripts Make deps directory persistent over upgrades (#7801) 2017-07-13 19:26:21 -07:00
util Make deps directory persistent over upgrades (#7801) 2017-07-13 19:26:21 -07:00
__init__.py Fix PEP257 issues 2016-03-08 00:06:04 +01:00
__main__.py Fix some issues for PyLint 1.7.2 (#8356) 2017-07-05 20:02:16 -07:00
bootstrap.py Make deps directory persistent over upgrades (#7801) 2017-07-13 19:26:21 -07:00
config.py Make deps directory persistent over upgrades (#7801) 2017-07-13 19:26:21 -07:00
const.py Backend support for themes (#8419) 2017-07-12 18:08:13 -07:00
core.py Fix some issues for PyLint 1.7.2 (#8356) 2017-07-05 20:02:16 -07:00
exceptions.py EntityComponent to retry platforms that are not ready yet (#8209) 2017-06-26 09:41:48 -07:00
loader.py Don't use len(SEQUENCE) as condition value (#7249) 2017-04-23 20:41:09 -07:00
monkey_patch.py Make monkey patch work in Python 3.6 (#7848) 2017-06-01 23:23:39 -07:00
package_constraints.txt Make deps directory persistent over upgrades (#7801) 2017-07-13 19:26:21 -07:00
remote.py Fix pylint 1.7.2 no-else-return issues (#8361) 2017-07-05 23:30:01 -07:00
setup.py Make deps directory persistent over upgrades (#7801) 2017-07-13 19:26:21 -07:00