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",)
from arches.setup import get_version VERSION = (4, 0, 1, 'beta', 0) __version__ = get_version(VERSION)
def setup(): get_version(path_to_file=os.path.abspath(os.path.dirname(__file__)))