Skip to content

Commit 6bacf63

Browse files
committed
fix setup.py ascii issue
1 parent 9d27b8e commit 6bacf63

4 files changed

Lines changed: 5 additions & 9 deletions

File tree

ebaysdk/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import platform
1010
import 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

1515
try:
1616
from logging import NullHandler

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@
2020

2121
PKG = '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

2925
long_desc = """This SDK is a programatic inteface into the eBay
3026
APIs. It simplifies development and cuts development time by standerizing

tests/test_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
class 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):

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ envlist = py27,py36
33

44
[testenv]
55
setenv =
6-
EBAY_YAML = ebay_private.yaml
6+
EBAY_YAML = /etc/ebay.yaml
77

88
commands = pep8 --ignore=E202,E501 ebaysdk
99
pylint -E ebaysdk

0 commit comments

Comments
 (0)