File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1919# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2020# SOFTWARE.
2121import json
22+ import pkg_resources
23+ import platform
2224
2325import requests
2426
2527from .errors import RequestError , ThrottlingError
2628from .model import Data , Feed , Group
2729
2830# set outgoing version, pulled from setup.py
29- import pkg_resources
3031version = pkg_resources .require ("Adafruit_IO" )[0 ].version
3132default_headers = {
32- 'User-Agent' : 'AdafruitIO-Python/{0}' .format (version )
33+ 'User-Agent' : 'AdafruitIO-Python/{0} ({1}, {2} {3})' .format (version ,
34+ platform .platform (),
35+ platform .python_implementation (),
36+ platform .python_version ())
3337}
3438
3539class Client (object ):
Original file line number Diff line number Diff line change 1616
1717setup (
1818 name = 'adafruit-io' ,
19- version = '1.1.0 ' ,
19+ version = '1.1.1 ' ,
2020 author = 'Justin Cooper' ,
2121 author_email = 'justin@adafruit.com' ,
2222 packages = ['Adafruit_IO' ],
You can’t perform that action at this time.
0 commit comments