Skip to content

Commit 62fab03

Browse files
authored
Merge pull request #56 from Microsoft/dev
version 0.1.3
2 parents 37a157c + 947328b commit 62fab03

15 files changed

+33
-28
lines changed

scripts/dev_setup.py

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
import os
1111
from subprocess import check_call, CalledProcessError
1212

13-
root_dir = os.path.abspath(os.path.join(os.path.abspath(__file__), '..', '..'))
14-
1513

1614
def exec_command(command):
1715
try:
@@ -23,25 +21,20 @@ def exec_command(command):
2321
sys.exit(1)
2422

2523

26-
packages = [os.path.dirname(p) for p in glob.glob('vsts*/setup.py')]
27-
28-
# Extract nspkg and sort nspkg by number of "-"
29-
nspkg_packages = [p for p in packages if "nspkg" in p]
30-
nspkg_packages.sort(key=lambda x: len([c for c in x if c == '-']))
31-
32-
content_packages = [p for p in packages if p not in nspkg_packages]
33-
3424
print('Running dev setup...')
25+
26+
root_dir = os.path.abspath(os.path.join(os.path.abspath(__file__), '..', '..'))
3527
print('Root directory \'{}\'\n'.format(root_dir))
3628

29+
exec_command('python -m pip install --upgrade pip')
30+
exec_command('python -m pip install --upgrade wheel')
31+
3732
# install general requirements
3833
if os.path.isfile('./requirements.txt'):
3934
exec_command('pip install -r requirements.txt')
4035

41-
# install packages
42-
for package_list in [nspkg_packages, content_packages]:
43-
for package_name in package_list:
44-
exec_command('pip install -e {}'.format(package_name))
36+
# install dev packages
37+
exec_command('pip install -e vsts')
4538

4639
# install packaging requirements
4740
if os.path.isfile('./scripts/packaging_requirements.txt'):

vsts/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import setup, find_packages
77

88
NAME = "vsts"
9-
VERSION = "0.1.2"
9+
VERSION = "0.1.3"
1010

1111
# To install the library, run the following
1212
#

vsts/vsts/release/v4_1/models/authorization_header.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class AuthorizationHeader(BaseSecuredObject):
12+
class AuthorizationHeader(Model):
1213
"""AuthorizationHeader.
1314
1415
:param name:

vsts/vsts/release/v4_1/models/data_source_binding_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class DataSourceBindingBase(BaseSecuredObject):
12+
class DataSourceBindingBase(Model):
1213
"""DataSourceBindingBase.
1314
1415
:param data_source_name: Gets or sets the name of the data source.

vsts/vsts/release/v4_1/models/process_parameters.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class ProcessParameters(BaseSecuredObject):
12+
class ProcessParameters(Model):
1213
"""ProcessParameters.
1314
1415
:param data_source_bindings:

vsts/vsts/release/v4_1/models/task_input_definition_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class TaskInputDefinitionBase(BaseSecuredObject):
12+
class TaskInputDefinitionBase(Model):
1213
"""TaskInputDefinitionBase.
1314
1415
:param aliases:

vsts/vsts/release/v4_1/models/task_input_validation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class TaskInputValidation(BaseSecuredObject):
12+
class TaskInputValidation(Model):
1213
"""TaskInputValidation.
1314
1415
:param expression: Conditional expression

vsts/vsts/release/v4_1/models/task_source_definition_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class TaskSourceDefinitionBase(BaseSecuredObject):
12+
class TaskSourceDefinitionBase(Model):
1213
"""TaskSourceDefinitionBase.
1314
1415
:param auth_key:

vsts/vsts/task_agent/v4_1/models/data_source_binding_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class DataSourceBindingBase(BaseSecuredObject):
12+
class DataSourceBindingBase(Model):
1213
"""DataSourceBindingBase.
1314
1415
:param data_source_name: Gets or sets the name of the data source.

vsts/vsts/task_agent/v4_1/models/task_input_definition_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class TaskInputDefinitionBase(BaseSecuredObject):
12+
class TaskInputDefinitionBase(Model):
1213
"""TaskInputDefinitionBase.
1314
1415
:param aliases:

vsts/vsts/task_agent/v4_1/models/task_input_validation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class TaskInputValidation(BaseSecuredObject):
12+
class TaskInputValidation(Model):
1213
"""TaskInputValidation.
1314
1415
:param expression: Conditional expression

vsts/vsts/task_agent/v4_1/models/task_source_definition_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class TaskSourceDefinitionBase(BaseSecuredObject):
12+
class TaskSourceDefinitionBase(Model):
1213
"""TaskSourceDefinitionBase.
1314
1415
:param auth_key:

vsts/vsts/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
55

6-
VERSION = "0.1.2"
6+
VERSION = "0.1.3"

vsts/vsts/work/v4_1/models/work_item_field_reference.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class WorkItemFieldReference(BaseSecuredObject):
12+
class WorkItemFieldReference(Model):
1213
"""WorkItemFieldReference.
1314
1415
:param name: The name of the field.

vsts/vsts/work/v4_1/models/work_item_tracking_resource_reference.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9+
from msrest.serialization import Model
910

1011

11-
class WorkItemTrackingResourceReference(BaseSecuredObject):
12+
class WorkItemTrackingResourceReference(Model):
1213
"""WorkItemTrackingResourceReference.
1314
1415
:param url:

0 commit comments

Comments
 (0)