Permalink
Commits on Sep 3, 2018
  1. Install solvers to a relevant site-package by default (#517)

    randomir authored and marcogario committed Sep 3, 2018
    - if user has virtual environment activated, simply install solvers in
      virtualenv's site packages
    - otherwise (debian's pip logic):
      - if user is root, install to system site/dist packages
      - else if user has user site enabled, install solvers user-local
      - otherwise, try installing to system site packages and probably
        fail.
    
    * Update help/docs/readme to reflect new bindings dir
    * New bindings dir default in solver installers
    * Add pip-like default package location heuristic helper
    * Add debian-like solver install location heuristic
    * Installer creates bindings/install dir recursively
    * Use default bindings dir in Travis/Appveyor tests
    * Fix example runner in tests (no ls, no subshell)
    * Patch python path for examples in tests
    * CI: Caching venv
Commits on Jun 1, 2018
  1. Omit PATH/LD_LIBRARY_PATH from --env output

    randomir committed Jun 1, 2018
    Not needed anymore (since z3/msat now automagically discover SO/DLL).
  2. Install z3 libs so they can be discovered automatically

    randomir committed Jun 1, 2018
    Eliminate the need for setting `LD_LIBRARY_PATH`, `builtins.Z3_LIB_DIRS`,
    `Z3_LIBRARY_PATH`, or `PATH` env vars.
  3. Use relative SO lookup for mathsat extension

    randomir committed Jun 1, 2018
    On linux, e.g. this translates to using `--rpath=$ORIGIN` for
    `_mathsat` extension binary, so `libmathsat.so` is found in `bindings_dir`,
    without the need to set `LD_LIBRARY_PATH`.
    
    On Windows, DLL loading happens relative to the binary anyway.
  4. Fix pysmt CLI for Python3 (closes #492)

    randomir committed Jun 1, 2018
    To append `dict_keys` to `list`, need to explicitly convert them.