Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(61)  |  Call(54)  |  Derive(0)  |  Import(7)
Version numbering for BigBrotherBot.
Compared to version.StrictVersion this class allows version numbers such as :
    1.0dev
    1.0dev2
    1.0d3
    1.0a
    1.0a
    1.0a34
    1.0b
    1.0b1(more...)

src/b/3/b3-plugin-poweradminbf3-HEAD/extplugins/poweradminbf3.py   b3-plugin-poweradminbf3(Download)
from b3.parsers.frostbite2.util import MapListBlock, PlayerInfoBlock
from b3.parsers.bf3 import GAME_MODES_NAMES, __version__ as bf3_version, GUNMASTER_WEAPONS_PRESET_BY_INDEX, GUNMASTER_WEAPONS_PRESET_BY_NAME
from b3.update import B3version
import b3.cron
 
    def startup(self):
        """\
        Initialize plugin settings
        """
        if B3version(bf3_version) < B3version(MIN_BF3_PARSER_VERSION):

src/b/i/big-brother-bot-HEAD/py2exe_builder/build.py   big-brother-bot(Download)
    sys.path.insert(0, os.path.abspath(os.path.join(script_dir, '..')))
    from b3 import __version__ as b3_version
    from b3.update import B3version
except ImportError:
    print "Could not import b3"

src/b/3/b3-1.9.2/tests/test_update.py   b3(Download)
import unittest2 as unittest
from mock import patch
from b3.update import B3version
 
class TestB3Version(unittest.TestCase):
    def test_no_exception(self):
        B3version("1.4")
        B3version("1.4.2")
        B3version("0.7dev")
        B3version("0.7dev0")

src/b/i/big-brother-bot-HEAD/tests/test_update.py   big-brother-bot(Download)
import unittest2 as unittest
from mock import patch
from b3.update import B3version
 
class TestB3Version(unittest.TestCase):
    def test_no_exception(self):
        B3version("1.4")
        B3version("1.4.2")
        B3version("0.7dev")
        B3version("0.7dev0")

src/b/3/b3-plugin-poweradminbf3-HEAD/tests/__init__.py   b3-plugin-poweradminbf3(Download)
import logging
logging.raiseExceptions = False  # get rid of 'No handlers could be found for logger output' message
from b3.update import B3version
from poweradminbf3 import MIN_BF3_PARSER_VERSION
from b3 import TEAM_UNKNOWN
from b3.config import XmlConfigParser
from b3.parsers.bf3 import Bf3Parser, __version__ as bf3_version
from b3.plugins.admin import AdminPlugin
from b3 import __version__ as b3_version
from b3.update import B3version
 
        # load the admin plugin
        if B3version(b3_version) >= B3version("1.10dev"):
            admin_plugin_conf_file = '@b3/conf/plugin_admin.ini'
        else:

src/b/3/b3-plugin-chatlogger-HEAD/tests/__init__.py   b3-plugin-chatlogger(Download)
 
from b3.config import XmlConfigParser
from b3.update import B3version
from b3 import __version__ as b3_version
import b3.output  # do not remove, needed because the module alters some defaults of the logging module
 
        # load the admin plugin
        if B3version(b3_version) >= B3version("1.10dev"):
            admin_plugin_conf_file = '@b3/conf/plugin_admin.ini'
        else: