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 19
19
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
20
# SOFTWARE.
21
21
import json
22
+ import pkg_resources
23
+ import platform
22
24
23
25
import requests
24
26
25
27
from .errors import RequestError , ThrottlingError
26
28
from .model import Data , Feed , Group
27
29
28
30
# set outgoing version, pulled from setup.py
29
- import pkg_resources
30
31
version = pkg_resources .require ("Adafruit_IO" )[0 ].version
31
32
default_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 ())
33
37
}
34
38
35
39
class Client (object ):
Original file line number Diff line number Diff line change 16
16
17
17
setup (
18
18
name = 'adafruit-io' ,
19
- version = '1.1.0 ' ,
19
+ version = '1.1.1 ' ,
20
20
author = 'Justin Cooper' ,
21
21
author_email = '[email protected] ' ,
22
22
packages = ['Adafruit_IO' ],
You can’t perform that action at this time.
0 commit comments