build.py: Make build script work on both Python2.x and Python3.x

While at it also add a missing dependency on lsof required by the
netstat plugin.

closes #512
This commit is contained in:
Hannu Valtonen
2016-01-12 23:10:36 +02:00
committed by Cameron Sparr
parent 3cc1fecb53
commit 7531e218c1
2 changed files with 123 additions and 118 deletions

View File

@@ -2,6 +2,7 @@
### Features
- [#509](https://github.com/influxdb/telegraf/pull/509): Flatten JSON arrays with indices. Thanks @psilva261!
- [#512](https://github.com/influxdata/telegraf/pull/512): Python 3 build script, add lsof dep to package. Thanks @Ormod!
### Bugfixes
- [#506](https://github.com/influxdb/telegraf/pull/506): Ping input doesn't return response time metric when timeout. Thanks @titilambert!