コード例 #1
0
ファイル: __init__.py プロジェクト: msrivastava/arches
from __future__ import absolute_import
from arches.setup import get_version

try:
    from .celery import app as celery_app
except ModuleNotFoundError as e:
    print(e)

VERSION = (5, 1, 0, "alpha", 0)  # VERSION[3] options = "alpha", "beta", "rc", or "final"

__version__ = get_version(VERSION)

# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
__all__ = ("celery_app",)
コード例 #2
0
ファイル: __init__.py プロジェクト: mradamcox/arches
from arches.setup import get_version

VERSION = (4, 0, 1, 'beta', 0)

__version__ = get_version(VERSION)
コード例 #3
0
def setup():
    get_version(path_to_file=os.path.abspath(os.path.dirname(__file__)))
コード例 #4
0
ファイル: setup.py プロジェクト: archesproject/hip
def setup():
    get_version(path_to_file=os.path.abspath(os.path.dirname(__file__)))