示例#1
0

def find_data_files(destdir, srcdir):
    package_data = []
    files = []
    for d in glob.glob('%s/*' % (srcdir, )):
        if os.path.isdir(d):
            package_data += find_data_files(
                os.path.join(destdir, os.path.basename(d)), d)
        else:
            files += [d]
    package_data += [(destdir, files)]
    return package_data

setup(name='nova',
      version=version.canonical_version_string(),
      description='cloud computing fabric controller',
      author='OpenStack',
      author_email='*****@*****.**',
      url='http://www.openstack.org/',
      cmdclass=nova_cmdclass,
      packages=find_packages(exclude=['bin', 'smoketests']),
      include_package_data=True,
      test_suite='nose.collector',
      data_files=find_data_files('share/nova', 'tools'),
      scripts=['bin/clear_rabbit_queues',
               'bin/instance-usage-audit',
               'bin/nova-ajax-console-proxy',
               'bin/nova-api',
               'bin/nova-api-ec2',
               'bin/nova-api-os',
示例#2
0
文件: setup.py 项目: stuartbyma/nova
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.
import glob
import os

import setuptools

from nova.openstack.common import setup as common_setup
from nova import version

requires = common_setup.parse_requirements()

setuptools.setup(
    name='nova',
    version=version.canonical_version_string(),
    description='cloud computing fabric controller',
    author='OpenStack',
    author_email='*****@*****.**',
    url='http://www.openstack.org/',
    cmdclass=common_setup.get_cmdclass(),
    packages=setuptools.find_packages(exclude=['bin', 'smoketests']),
    install_requires=requires,
    include_package_data=True,
    test_suite='nose.collector',
    setup_requires=['setuptools_git>=0.4'],
    scripts=[
        'bin/nova-all',
        'bin/nova-api',
        'bin/nova-api-ec2',
        'bin/nova-api-metadata',
示例#3
0
文件: conf.py 项目: vishvananda/nova
master_doc = 'index'

# General information about the project.
project = u'nova'
copyright = u'2010-present, OpenStack, LLC'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
from nova import version as nova_version
#import nova.version
# The full version, including alpha/beta/rc tags.
release = nova_version.version_string()
# The short X.Y version.
version = nova_version.canonical_version_string()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of documents that shouldn't be included in the build.
unused_docs = [
    'api_ext/rst_extension_template',
    'vmwareapi_readme',
示例#4
0
master_doc = 'index'

# General information about the project.
project = u'nova'
copyright = u'2010-present, OpenStack, LLC'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
from nova import version as nova_version
#import nova.version
# The full version, including alpha/beta/rc tags.
release = nova_version.version_string()
# The short X.Y version.
version = nova_version.canonical_version_string()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of documents that shouldn't be included in the build.
unused_docs = [
    'api_ext/rst_extension_template',
    'vmwareapi_readme',
def version_handler(name):
    return version.canonical_version_string()
def version_handler(name):
    return version.canonical_version_string()