Skip to content

Commit a071fc9

Browse files
authored
Merge pull request #18 from Microsoft/users/tedchamb/initial
Python 2 updates
2 parents 2da6309 + deb1426 commit a071fc9

File tree

20 files changed

+33
-20
lines changed

20 files changed

+33
-20
lines changed

vsts/setup.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,28 @@
1919
"msrest>=0.4.5"
2020
]
2121

22+
CLASSIFIERS = [
23+
'Development Status :: 4 - Beta',
24+
'Intended Audience :: Developers',
25+
'Intended Audience :: System Administrators',
26+
'Programming Language :: Python',
27+
'Programming Language :: Python :: 2',
28+
'Programming Language :: Python :: 2.7',
29+
'Programming Language :: Python :: 3',
30+
'Programming Language :: Python :: 3.6',
31+
'License :: OSI Approved :: MIT License',
32+
]
33+
2234
setup(
2335
name=NAME,
2436
version=VERSION,
2537
description="Python wrapper around the VSTS APIs",
26-
author="Ted Chambers",
38+
author="Microsoft Corporation",
2739
author_email="vstscli@microsoft.com",
2840
url="https://github.com/Microsoft/vsts-python-api ",
2941
keywords=["Microsoft", "VSTS", "Team Services", "SDK", "AzureTfs"],
3042
install_requires=REQUIRES,
43+
classifiers=CLASSIFIERS,
3144
packages=find_packages(),
3245
include_package_data=True,
3346
long_description="""\

vsts/vsts/build/v4_0/build_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class BuildClient(VssClient):
1818
"""
1919

2020
def __init__(self, base_url=None, creds=None):
21-
super(BuildClient, self).__init__(base_url, creds)
21+
VssClient.__init__(self, base_url, creds)
2222
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
2323
self._serialize = Serializer(client_models)
2424
self._deserialize = Deserializer(client_models)

vsts/vsts/build/v4_1/build_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class BuildClient(VssClient):
1818
"""
1919

2020
def __init__(self, base_url=None, creds=None):
21-
super(BuildClient, self).__init__(base_url, creds)
21+
VssClient.__init__(self, base_url, creds)
2222
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
2323
self._serialize = Serializer(client_models)
2424
self._deserialize = Deserializer(client_models)

vsts/vsts/core/v4_0/core_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CoreClient(VssClient):
1818
"""
1919

2020
def __init__(self, base_url=None, creds=None):
21-
super(CoreClient, self).__init__(base_url, creds)
21+
VssClient.__init__(self, base_url, creds)
2222
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
2323
self._serialize = Serializer(client_models)
2424
self._deserialize = Deserializer(client_models)

vsts/vsts/core/v4_1/core_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CoreClient(VssClient):
1818
"""
1919

2020
def __init__(self, base_url=None, creds=None):
21-
super(CoreClient, self).__init__(base_url, creds)
21+
VssClient.__init__(self, base_url, creds)
2222
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
2323
self._serialize = Serializer(client_models)
2424
self._deserialize = Deserializer(client_models)

vsts/vsts/customer_intelligence/v4_0/customer_intelligence_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CustomerIntelligenceClient(VssClient):
1818
"""
1919

2020
def __init__(self, base_url=None, creds=None):
21-
super(CustomerIntelligenceClient, self).__init__(base_url, creds)
21+
VssClient.__init__(self, base_url, creds)
2222
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
2323
self._serialize = Serializer(client_models)
2424
self._deserialize = Deserializer(client_models)

vsts/vsts/customer_intelligence/v4_1/customer_intelligence_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CustomerIntelligenceClient(VssClient):
1818
"""
1919

2020
def __init__(self, base_url=None, creds=None):
21-
super(CustomerIntelligenceClient, self).__init__(base_url, creds)
21+
VssClient.__init__(self, base_url, creds)
2222
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
2323
self._serialize = Serializer(client_models)
2424
self._deserialize = Deserializer(client_models)

vsts/vsts/git/v4_0/git_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class GitClient(GitClientBase):
1818
"""
1919

2020
def __init__(self, base_url=None, creds=None):
21-
super(GitClient, self).__init__(base_url, creds)
21+
GitClientBase.__init__(self, base_url, creds)
2222

2323
def get_vsts_info(self, relative_remote_url):
2424
request = ClientRequest()

vsts/vsts/git/v4_0/git_client_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class GitClientBase(VssClient):
1818
"""
1919

2020
def __init__(self, base_url=None, creds=None):
21-
super(GitClientBase, self).__init__(base_url, creds)
21+
VssClient.__init__(self, base_url, creds)
2222
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
2323
self._serialize = Serializer(client_models)
2424
self._deserialize = Deserializer(client_models)

vsts/vsts/git/v4_1/git_client_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class GitClientBase(VssClient):
1818
"""
1919

2020
def __init__(self, base_url=None, creds=None):
21-
super(GitClientBase, self).__init__(base_url, creds)
21+
VssClient.__init__(self, base_url, creds)
2222
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
2323
self._serialize = Serializer(client_models)
2424
self._deserialize = Deserializer(client_models)

0 commit comments

Comments
 (0)