-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1054 from dandi/fix-version
- Loading branch information
Showing
15 changed files
with
28 additions
and
2,423 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
# Include any data files such as templates or static assets in the source distribution | ||
graft dandiapi | ||
include versioneer.py | ||
include dandiapi/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
# This project module is imported for us when Django starts. To ensure that Celery app is always | ||
# defined prior to any shared_task definitions (so those tasks will bind to the app), import | ||
# the Celery module here for side effects. | ||
from ._version import get_versions | ||
from .celery import app as _celery_app # noqa: F401 | ||
from pkg_resources import get_distribution | ||
|
||
# Do not import anything else from this file, to avoid interfering with the startup order of the | ||
# Celery app and Django's settings. | ||
from .celery import app as _celery_app # noqa: F401 | ||
|
||
__version__ = get_versions()['version'] | ||
del get_versions | ||
__version__ = get_distribution('dandiapi').version |
Oops, something went wrong.