Skip to content

Commit

Permalink
project requirements
Browse files Browse the repository at this point in the history
Set up project requirements for developing samples. We want to
encourage testing with mock, some samples will need to interoperate
with suds based clients.
  • Loading branch information
hartsock committed May 8, 2014
1 parent 07a6ed1 commit 2f4cd9d
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
suds>=0.4,<0.7
argparse
41 changes: 41 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# VMware vSphere Python SDK Community Samples
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from setuptools import setup
import os

def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
name='pyvmomi-community-samples',
version='5.5.0',
description='VMware vSphere Python SDK Community Samples',
author='VMware, Inc.',
author_email='[email protected]',
url='https://github.com/vmware/pyvmomi',
packages=['samples', 'pyvmomi-addons'],
license='Apache',
long_description=read('README.md'),
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Development Status :: 4 - Beta",
"Environment :: No Input/Output (Daemon)",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Distributed Computing"
],
zip_safe=True
)
2 changes: 2 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mock>=1.0
testtools>=0.9.34

0 comments on commit 2f4cd9d

Please sign in to comment.