Skip to content
Permalink
Browse files

Add gce requirements and register provider in ProviderList.

  • Loading branch information...
nuwang committed Jan 22, 2016
1 parent e90a7f6 commit 2d5c14166a538d320e54eed5bc3fa04997828715
Showing with 6 additions and 5 deletions.
  1. +4 −4 cloudbridge/cloud/factory.py
  2. +2 −1 setup.py
@@ -1,20 +1,20 @@
from cloudbridge.cloud import providers
from cloudbridge.cloud.interfaces import CloudProvider
from cloudbridge.cloud.interfaces import TestMockHelperMixin
from collections import defaultdict
import importlib
import inspect
import logging
import pkgutil

from cloudbridge.cloud import providers
from cloudbridge.cloud.interfaces import CloudProvider
from cloudbridge.cloud.interfaces import TestMockHelperMixin


log = logging.getLogger(__name__)


class ProviderList(object):
AWS = 'aws'
OPENSTACK = 'openstack'
GCE = 'gce'


class CloudProviderFactory(object):
@@ -21,7 +21,8 @@
'python-neutronclient==3.1.0',
'python-keystoneclient==2.0.0']
aws_reqs = ['boto==2.38.0']
full_reqs = base_reqs + aws_reqs + openstack_reqs
gce_reqs = ['google-api-python-client==1.4.2']
full_reqs = base_reqs + aws_reqs + openstack_reqs + gce_reqs
dev_reqs = (['httpretty==0.8.10', 'tox==2.1.1', 'moto==0.4.18',
'sphinx==1.3.1'] + full_reqs)

0 comments on commit 2d5c141

Please sign in to comment.
You can’t perform that action at this time.