Skip to content

Commit

Permalink
Merge pull request #362 from bmbouter/fix-version-string
Browse files Browse the repository at this point in the history
Another __version__ fix attempt
  • Loading branch information
dkliban committed Jun 3, 2019
2 parents 59a2cd0 + 502b457 commit 7c96237
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Expand Up @@ -11,7 +11,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import pkg_resources
import pulp_docker

try:
import sphinx_rtd_theme
Expand Down Expand Up @@ -53,9 +53,9 @@
# built documents.
#
# The short X.Y version.
version = pkg_resources.get_distribution("pulp_docker").version
version = pulp_docker.__version__
# The full version, including alpha/beta/rc tags.
release = pkg_resources.get_distribution("pulp_docker").version
release = pulp_docker.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
5 changes: 1 addition & 4 deletions pulp_docker/__init__.py
@@ -1,6 +1,3 @@
import pkg_resources

__version__ = pkg_resources.get_distribution("pulp-docker").version

__version__ = '4.0.0b4'

default_app_config = 'pulp_docker.app.PulpDockerPluginAppConfig'

0 comments on commit 7c96237

Please sign in to comment.