Commit dc90bd28 authored by Benjamin Hugo's avatar Benjamin Hugo Committed by Benjamin Hugo
Browse files

Build system updates PEP 518 compliance

- Add PEP 518 compliant build requirements. This fixes the chicken and
egg requirement on numpy

- Convert byte array to string. Fixes distutils incompatibility
parent 8f8b0074
Loading
Loading
Loading
Loading

pyproject.toml

0 → 100644
+3 −0
Original line number Diff line number Diff line
[build-system]
requires = ["setuptools", "wheel", "numpy"]
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ def get_version():
    try:
        import subprocess
        command = ['git', 'describe', '--tags', '--always', '--dirty']
        return subprocess.check_output(command)
        return str(subprocess.check_output(command))
    except:
        pass