File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ def wrapper(instance, value):
3737from .intercom import Intercom
3838from .intercom import ResourceNotFound
3939from .intercom import ServerError
40- from .intercom import VERSION
4140
4241from .impression import Impression
4342from .message_thread import MessageThread
Original file line number Diff line number Diff line change 1616
1717import functools
1818import json
19+ import pkg_resources
1920import requests
2021
21-
2222DEFAULT_TIMEOUT = 10 # seconds
23- VERSION = "0.2.7"
23+ VERSION = pkg_resources . require ( "python-intercom" )[ 0 ]. version
2424
2525
2626class IntercomError (StandardError ):
Original file line number Diff line number Diff line change 77from setuptools import find_packages
88from setuptools import setup
99
10- from intercom import VERSION
10+ __version__ = "0.2.8"
1111
1212setup (
1313 name = "python-intercom" ,
14- version = VERSION ,
14+ version = __version__ ,
1515 description = "Intercom API wrapper" ,
1616 long_description = open ('README' ).read (),
1717 author = "John Keyes" ,
You can’t perform that action at this time.
0 commit comments