1. 31 Aug, 2017 4 commits
  2. 30 Aug, 2017 7 commits
  3. 28 Aug, 2017 5 commits
  4. 25 Aug, 2017 4 commits
  5. 24 Aug, 2017 2 commits
    • Dean Moldovan's avatar
      Fix missing user dir in `python -m pybind11 --includes` · 3d8df5af
      Dean Moldovan authored
      For the case of `pip install --user`, the header include dirs must
      also include `pybind11.get_include(True)`.
      
      [skip appveyor]
      3d8df5af
    • Dean Moldovan's avatar
      Fix setup.py detail headers and add pip install tests to Travis · 1913f252
      Dean Moldovan authored
      The default `install_headers` from `distutils` flattens all the headers
      into a single directory -- `detail` subdirectory was lost. This commit
      fixes this by overriding the setup with a custom header installer.
      
      Tests are added to Travis to make sure `setup.py sdist` and `pip install`
      do not miss any headers and that the directory structure is preserved.
      
      [skip appveyor]
      1913f252
  6. 23 Aug, 2017 9 commits
  7. 22 Aug, 2017 4 commits
  8. 21 Aug, 2017 1 commit
  9. 20 Aug, 2017 2 commits
  10. 19 Aug, 2017 2 commits
    • Patrik Huber's avatar
      Fix typos in Eigen documentation · d265933d
      Patrik Huber authored
      Fixes one small variable name typo, and two instances where `py::arg().nocopy()` is used, where I think it should be `py::arg().noconvert()` instead. Probably `nocopy()` was the old/original name for it and then it was changed.
      d265933d
    • Jason Rhinelander's avatar
      Allow module-local classes to be loaded externally · 5e14aa6a
      Jason Rhinelander authored
      The main point of `py::module_local` is to make the C++ -> Python cast
      unique so that returning/casting a C++ instance is well-defined.
      Unfortunately it also makes loading unique, but this isn't particularly
      desirable: when an instance contains `Type` instance there's no reason
      it shouldn't be possible to pass that instance to a bound function
      taking a `Type` parameter, even if that function is in another module.
      
      This commit solves the issue by allowing foreign module (and global)
      type loaders have a chance to load the value if the local module loader
      fails.  The implementation here does this by storing a module-local
      loading function in a capsule in the python type, which we can then call
      if the local (and possibly global, if the local type is masking a global
      type) version doesn't work.
      5e14aa6a