summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJeffrey Salmond <js947@users.noreply.github.com>2016-11-04 23:38:44 +0000
committerTodd Gamblin <tgamblin@llnl.gov>2016-11-04 16:38:44 -0700
commit9cd83a4efb6633b83e0ad2ef640d0b275f39b28c (patch)
tree038c8641a7f3dc8e3372e9f295145f20ab06c8e0 /etc
parentc3d9dda0e563c6254982a57434d51d9226b7bc56 (diff)
downloadspack-9cd83a4efb6633b83e0ad2ef640d0b275f39b28c.tar.gz
spack-9cd83a4efb6633b83e0ad2ef640d0b275f39b28c.tar.bz2
spack-9cd83a4efb6633b83e0ad2ef640d0b275f39b28c.tar.xz
spack-9cd83a4efb6633b83e0ad2ef640d0b275f39b28c.zip
Use code from the `distro` package to improve linux distro detection. (#1629)
* Use code from the `distro` package to improve linux distro detection. Various issues [1] [2] with the platform.linux_distribution function led to the function being deprecated in python 3.4. The pipi package distro [3] contains compatible improved code that better tracks current methods for identifying linux distributions (see, for example, [4],[5]). [1]: https://bugs.python.org/issue20454 [2]: http://bugs.python.org/issue1322 [3]: https://pypi.python.org/pypi/distro [4]: https://refspecs.linuxbase.org/LSB_3.0.0/LSB-PDA/LSB-PDA/lsbrelease.html [5]: https://www.freedesktop.org/software/systemd/man/os-release.html * fix (potential) unicode problems
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions