Exemple #1
0
 def _get_version_from_pkg_resources(self):
     """Get the version of the package from the pkg_resources record
     associated with the package."""
     try:
         requirement = pkg_resources.Requirement.parse(self.package)
         provider = pkg_resources.get_provider(requirement)
         return provider.version
     except pkg_resources.DistributionNotFound:
         # The most likely cause for this is running tests in a tree
         # produced from a tarball where the package itself has not been
         # installed into anything. Revert to setup-time logic.
         from quantum.openstack.common import setup
         return setup.get_version(self.package)
Exemple #2
0
 def _get_version_from_pkg_resources(self):
     """Get the version of the package from the pkg_resources record
     associated with the package."""
     try:
         requirement = pkg_resources.Requirement.parse(self.package)
         provider = pkg_resources.get_provider(requirement)
         return provider.version
     except pkg_resources.DistributionNotFound:
         # The most likely cause for this is running tests in a tree
         # produced from a tarball where the package itself has not been
         # installed into anything. Revert to setup-time logic.
         from quantum.openstack.common import setup
         return setup.get_version(self.package)
Exemple #3
0
import setuptools
import sys

from quantum.openstack.common import setup

requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()

if sys.platform == 'win32':
    requires.append('pywin32')
    requires.append('wmi')
    requires.remove('pyudev')

Name = 'quantum'
Url = "https://launchpad.net/quantum"
Version = setup.get_version(Name, '2013.1')
License = 'Apache License 2.0'
Author = 'Netstack'
AuthorEmail = '*****@*****.**'
Maintainer = ''
Summary = 'Quantum (virtual network service)'
ShortDescription = Summary
Description = Summary

EagerResources = [
    'quantum',
]

config_path = 'etc/quantum/'
init_path = 'etc/init.d'
rootwrap_path = 'etc/quantum/rootwrap.d'
import setuptools
import sys

from quantum.openstack.common import setup

requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()

if sys.platform == "win32":
    requires.append("pywin32")
    requires.append("wmi")
    requires.remove("pyudev")

Name = "quantum"
Url = "https://launchpad.net/quantum"
Version = setup.get_version(Name, "2013.2")
License = "Apache License 2.0"
Author = "OpenStack"
AuthorEmail = "*****@*****.**"
Maintainer = ""
Summary = "Quantum (virtual network service)"
ShortDescription = Summary
Description = Summary

EagerResources = ["quantum"]

config_path = "etc/quantum/"
init_path = "etc/init.d"
rootwrap_path = "etc/quantum/rootwrap.d"
ovs_plugin_config_path = "etc/quantum/plugins/openvswitch"
bigswitch_plugin_config_path = "etc/quantum/plugins/bigswitch"
Exemple #5
0
import setuptools
import sys

from quantum.openstack.common import setup

requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()

if sys.platform == 'win32':
    requires.append('pywin32')
    requires.append('wmi')
    requires.remove('pyudev')

Name = 'quantum'
Url = "https://launchpad.net/quantum"
Version = setup.get_version(Name, '2013.1.1')
License = 'Apache License 2.0'
Author = 'OpenStack'
AuthorEmail = '*****@*****.**'
Maintainer = ''
Summary = 'Quantum (virtual network service)'
ShortDescription = Summary
Description = Summary

EagerResources = [
    'quantum',
]

config_path = 'etc/quantum/'
init_path = 'etc/init.d'
rootwrap_path = 'etc/quantum/rootwrap.d'