File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99import platform
1010import logging
1111
12- __version__ = '2.1.4 '
13- Version = __version__ # for backware compatibility
12+ __version__ = '2.1.5 '
13+ Version = __version__ # for backward compatibility
1414
1515try :
1616 from logging import NullHandler
Original file line number Diff line number Diff line change 2020
2121PKG = 'ebaysdk'
2222
23- # Get the version
24- VERSIONFILE = os .path .join (PKG , "__init__.py" )
25- version = re .search (r"^__version__ = ['\"]([^'\"]*)['\"]" ,
26- open (VERSIONFILE , "rt" ).read (), re .M ).group (1 )
27-
23+ version = __import__ (PKG ).get_version ()
2824
2925long_desc = """This SDK is a programatic inteface into the eBay
3026APIs. It simplifies development and cuts development time by standerizing
Original file line number Diff line number Diff line change 1616
1717class TestErrors (unittest .TestCase ):
1818
19- def test_single_item (self ):
19+ def DISABLE_test_single_item (self ):
2020 connection = ebaysdk .shopping .Connection (version = '799' , config_file = os .environ .get ('EBAY_YAML' ))
2121
2222 for i in range (20 ):
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ envlist = py27,py36
33
44[testenv]
55setenv =
6- EBAY_YAML = ebay_private .yaml
6+ EBAY_YAML = /etc/ebay .yaml
77
88commands = pep8 --ignore =E202,E501 ebaysdk
99 pylint -E ebaysdk
You can’t perform that action at this time.
0 commit comments