Skip to content
Snippets Groups Projects
  1. Apr 09, 2020
    • Benjamin Cumming's avatar
      Fix setuptools to work with older Pip (#1010) · 1338599a
      Benjamin Cumming authored
      Work around issue caused by some versions of pip skipping the `install` stage when no additional command line args are passed via `--install-option`.
      
      Keep settings that can be modified via install option in a singleton that initializes them to their default.
      1338599a
  2. Apr 06, 2020
    • Benjamin Cumming's avatar
      Finalize support for PyPi package (#1002) · 04705503
      Benjamin Cumming authored
      * add MANIFEST file that describes all paths required in source distribution so that pip can compile Arbor.
      * fixes to `setup.py` to help it work across supported Python versions.
      
      Tested with:
      * setup tools and pip
      * python 3.7 and 3.8
      * pip 19 and pip 20
      * Linux and OS X
      04705503
  3. Feb 28, 2020
    • Benjamin Cumming's avatar
      pip / setuptools support (#977) · 45885c22
      Benjamin Cumming authored
      Add a `setup.py` for installing Arbor directly with pip/setuptools.
      
      Implement a setuptools extension for CMake in `setup.py`. To be honest, I don't understand entirely how it works, but setuptools is obtuse enough that I don't feel at all guilty about this.
      
      Define additional flags for optionally enabling GPUs, MPI, Vectorization and micro-architecture targets, for more adventurous users.
      
      The documentation is updated with a "howto pip" for more casual users who don't want anything to do with CMake.
      
      Fixes #958 .
      45885c22