Permalink
Browse files

rename to spotcloudopenstack

  • Loading branch information...
dmitriko committed Apr 28, 2011
1 parent aa47010 commit f431a20c358aea5eac079c49084a092df3cd58df
View
@@ -3,7 +3,7 @@
from setuptools import setup, find_packages
CLASSIFIERS = [
- 'Development Status :: 3 - Alpha',
+ 'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
@@ -14,13 +14,14 @@
'Topic :: Software Development :: Libraries :: Python Modules'
]
-setup(name='scopenstack',
- version='0.3',
+setup(name='spotcloudopenstack',
+ version='0.9',
packages=find_packages('src'),
package_dir = {'':'src'},
author='DmitriKo',
author_email='dmitrikozhevin@gmail.com',
url="http://spotcloud.com",
+ description=__doc__,
license='Apache',
include_package_data=True,
classifiers=CLASSIFIERS,
File renamed without changes.
@@ -11,14 +11,14 @@
from flask import request, jsonify, abort
-from scopenstack.app import app, db
-from scopenstack.models import HardwareTemplate, VM, Task, Package
-from scopenstack.provision import ProvisionWorker
-from scopenstack.novaconn import get_nova_connection
-from scopenstack.auth import check_auth, WrongAuth
+from spotcloudopenstack.app import app, db
+from spotcloudopenstack.models import HardwareTemplate, VM, Task, Package
+from spotcloudopenstack.provision import ProvisionWorker
+from spotcloudopenstack.novaconn import get_nova_connection
+from spotcloudopenstack.auth import check_auth, WrongAuth
import logging
-logger = logging.getLogger('scopenstack')
+logger = logging.getLogger('spotcloudopenstack')
@app.route("/rest/hosting/<path:path>",
@@ -10,13 +10,13 @@
from flaskext.sqlalchemy import SQLAlchemy
app = Flask(__name__)
-if os.environ.has_key("SCOPENSTACK_SETTINGS"):
- app.config.from_envvar('SCOPENSTACK_SETTINGS')
+if os.environ.has_key("SPOTCLOUDOPENSTACK_SETTINGS"):
+ app.config.from_envvar('SPOTCLOUDOPENSTACK_SETTINGS')
db = SQLAlchemy(app)
import logging
-logger = logging.getLogger('scopenstack')
+logger = logging.getLogger('spotcloudopenstack')
if app.config.has_key('LOGGING_FILE'):
handler = RotatingFileHandler(app.config['LOGGING_FILE'],
@@ -12,9 +12,9 @@
from flask import request
-from scopenstack.app import app
+from spotcloudopenstack.app import app
-logger = logging.getLogger('scopenstack')
+logger = logging.getLogger('spotcloudopenstack')
class WrongAuth(Exception):
File renamed without changes.
@@ -7,7 +7,7 @@
"""
-from scopenstack.models import init_db
+from spotcloudopenstack.models import init_db
if __name__ == '__main__':
init_db()
@@ -5,14 +5,14 @@
from flask import request
-from scopenstack.app import app, db
-from scopenstack.novaconn import get_nova_connection, nova_manage
-from scopenstack.models import HardwareTemplate, Package, VM, Task
-from scopenstack.provision import ProvisionWorker
-from scopenstack.api import rest
+from spotcloudopenstack.app import app, db
+from spotcloudopenstack.novaconn import get_nova_connection, nova_manage
+from spotcloudopenstack.models import HardwareTemplate, Package, VM, Task
+from spotcloudopenstack.provision import ProvisionWorker
+from spotcloudopenstack.api import rest
import logging
-logger = logging.getLogger('scopenstack')
+logger = logging.getLogger('spotcloudopenstack')
def main():
@@ -7,8 +7,8 @@
from datetime import datetime
import uuid
-from scopenstack.app import app, db
-from scopenstack.novaconn import get_instance_types, get_instances_dict
+from spotcloudopenstack.app import app, db
+from spotcloudopenstack.novaconn import get_instance_types, get_instances_dict
class Task(db.Model):
@@ -6,8 +6,8 @@
from subprocess import Popen, PIPE
-from scopenstack.client import NovaAdminClient
-from scopenstack.app import app
+from spotcloudopenstack.client import NovaAdminClient
+from spotcloudopenstack.app import app
def get_nova_connection():
"""Return Admin Client connection to communicate with
@@ -14,9 +14,9 @@
import re
from glob import glob
-from scopenstack.models import Package, HardwareTemplate, Task, VM
-from scopenstack.novaconn import get_nova_connection, get_instance_id
-from scopenstack.app import app, db
+from spotcloudopenstack.models import Package, HardwareTemplate, Task, VM
+from spotcloudopenstack.novaconn import get_nova_connection, get_instance_id
+from spotcloudopenstack.app import app, db
import logging
logger = logging.getLogger('scopentstack')
@@ -11,14 +11,14 @@
from flask import request
-from scopenstack.app import app, db
-from scopenstack.models import VM, Package, HardwareTemplate, Task
-from scopenstack import auth
-from scopenstack.api import rest, ptemplate_list
+from spotcloudopenstack.app import app, db
+from spotcloudopenstack.models import VM, Package, HardwareTemplate, Task
+from spotcloudopenstack import auth
+from spotcloudopenstack.api import rest, ptemplate_list
import logging
-logger = logging.getLogger('scopenstack')
+logger = logging.getLogger('spotcloudopenstack')
logger.setLevel(logging.WARNING)
USER = 'spotcloud'

0 comments on commit f431a20

Please sign in to comment.