Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tfs01 First check-in of WA Python client libraries, tests, and build scripts. #5

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@echo OFF
REM----------------------------------------------------------------------------
REM Copyright (c) Microsoft Corporation.
REM
REM This source code is subject to terms and conditions of the Apache License,
REM Version 2.0. A copy of the license can be found in the License.html file at
REM the root of this distribution. If you cannot locate the Apache License,
REM Version 2.0, please send an email to [email protected]. By using this
REM source code in any fashion, you are agreeing to be bound by the terms of the
REM Apache License, Version 2.0.
REM
REM You must not remove this notice, or any other, from this software.
REM----------------------------------------------------------------------------
cls

%SystemDrive%\Python27\python.exe setup.py sdist
16 changes: 16 additions & 0 deletions src/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@echo OFF
REM----------------------------------------------------------------------------
REM Copyright (c) Microsoft Corporation.
REM
REM This source code is subject to terms and conditions of the Apache License,
REM Version 2.0. A copy of the license can be found in the License.html file at
REM the root of this distribution. If you cannot locate the Apache License,
REM Version 2.0, please send an email to [email protected]. By using this
REM source code in any fashion, you are agreeing to be bound by the terms of the
REM Apache License, Version 2.0.
REM
REM You must not remove this notice, or any other, from this software.
REM----------------------------------------------------------------------------
cls

%SystemDrive%\Python27\python.exe setup.py install
16 changes: 16 additions & 0 deletions src/installfrompip.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@echo OFF
REM----------------------------------------------------------------------------
REM Copyright (c) Microsoft Corporation.
REM
REM This source code is subject to terms and conditions of the Apache License,
REM Version 2.0. A copy of the license can be found in the License.html file at
REM the root of this distribution. If you cannot locate the Apache License,
REM Version 2.0, please send an email to [email protected]. By using this
REM source code in any fashion, you are agreeing to be bound by the terms of the
REM Apache License, Version 2.0.
REM
REM You must not remove this notice, or any other, from this software.
REM----------------------------------------------------------------------------
cls

%SystemDrive%\Python27\Scripts\pip.exe install windowsazure --upgrade
26 changes: 26 additions & 0 deletions src/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/env python

#------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation.
#
# This source code is subject to terms and conditions of the Apache License,
# Version 2.0. A copy of the license can be found in the License.html file at
# the root of this distribution. If you cannot locate the Apache License,
# Version 2.0, please send an email to [email protected]. By using this
# source code in any fashion, you are agreeing to be bound by the terms of the
# Apache License, Version 2.0.
#
# You must not remove this notice, or any other, from this software.
#------------------------------------------------------------------------------

from distutils.core import setup

setup(name='windowsazure',
version='0.2.2',
description='Windows Azure client APIs',
url='https://github.com/WindowsAzure/azure-sdk-for-python',
packages=['windowsazure',
'windowsazure.http',
'windowsazure.servicebus',
'windowsazure.storage']
)
18 changes: 18 additions & 0 deletions src/upload.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@echo OFF
REM----------------------------------------------------------------------------
REM Copyright (c) Microsoft Corporation.
REM
REM This source code is subject to terms and conditions of the Apache License,
REM Version 2.0. A copy of the license can be found in the License.html file at
REM the root of this distribution. If you cannot locate the Apache License,
REM Version 2.0, please send an email to [email protected]. By using this
REM source code in any fashion, you are agreeing to be bound by the terms of the
REM Apache License, Version 2.0.
REM
REM You must not remove this notice, or any other, from this software.
REM----------------------------------------------------------------------------
cls

REM %SystemDrive%\Python27\python.exe setup.py register

%SystemDrive%\Python27\python.exe setup.py sdist upload
55 changes: 55 additions & 0 deletions src/windowsazure.pyproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{e60b72bf-ac42-4615-b1e7-57cb627260ae}</ProjectGuid>
<ProjectHome>.</ProjectHome>
<StartupFile>
</StartupFile>
<SearchPath>
</SearchPath>
<WorkingDirectory>.</WorkingDirectory>
<OutputPath>.</OutputPath>
<Name>windowsazure</Name>
<RootNamespace>windowsazure</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>true</DebugSymbols>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
</PropertyGroup>
<ItemGroup>
<Folder Include="windowsazure\" />
<Folder Include="windowsazure\http\" />
<Folder Include="windowsazure\servicebus\" />
<Folder Include="windowsazure\storage\" />
</ItemGroup>
<ItemGroup>
<Compile Include="setup.py" />
<Compile Include="windowsazure\http\batchclient.py" />
<Compile Include="windowsazure\http\httpclient.py" />
<Compile Include="windowsazure\http\winhttp.py" />
<Compile Include="windowsazure\http\__init__.py" />
<Compile Include="windowsazure\servicebus\servicebusservice.py" />
<Compile Include="windowsazure\servicebus\__init__.py" />
<Compile Include="windowsazure\storage\cloudblobclient.py" />
<Compile Include="windowsazure\storage\cloudqueueclient.py" />
<Compile Include="windowsazure\storage\cloudstorageaccount.py" />
<Compile Include="windowsazure\storage\cloudtableclient.py" />
<Compile Include="windowsazure\storage\sharedaccesssignature.py" />
<Compile Include="windowsazure\storage\storageclient.py" />
<Compile Include="windowsazure\storage\__init__.py" />
<Compile Include="windowsazure\__init__.py" />
</ItemGroup>
<ItemGroup>
<Content Include="build.bat" />
<Content Include="install.bat" />
<Content Include="installfrompip.bat" />
<Content Include="upload.bat" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
</Project>
22 changes: 22 additions & 0 deletions src/windowsazure.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "windowsazure", "windowsazure.pyproj", "{E60B72BF-AC42-4615-B1E7-57CB627260AE}"
EndProject
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "windowsazuretest", "..\test\windowsazuretest.pyproj", "{C0742A2D-4862-40E4-8A28-036EECDBC614}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E60B72BF-AC42-4615-B1E7-57CB627260AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E60B72BF-AC42-4615-B1E7-57CB627260AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C0742A2D-4862-40E4-8A28-036EECDBC614}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C0742A2D-4862-40E4-8A28-036EECDBC614}.Release|Any CPU.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
10 changes: 10 additions & 0 deletions src/windowsazure.vssscc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
""
{
"FILE_VERSION" = "9237"
"ENLISTMENT_CHOICE" = "NEVER"
"PROJECT_FILE_RELATIVE_PATH" = ""
"NUMBER_OF_EXCLUDED_FILES" = "0"
"ORIGINAL_PROJECT_FILE_PATH" = ""
"NUMBER_OF_NESTED_PROJECTS" = "0"
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROJECT"
}
Loading