Skip to content

Commit

Permalink
Set __version__ of sphinx_airflow_theme module correctly (#427)
Browse files Browse the repository at this point in the history
Using this feature of setuptools 46.4.0+ we only need to specify it
once, and don't have to handle parsing it either
  • Loading branch information
ashb committed Jun 2, 2021
1 parent 25d35b4 commit f9f2cf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions sphinx_airflow_theme/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
version = attr: sphinx_airflow_theme.__version__
1 change: 0 additions & 1 deletion sphinx_airflow_theme/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

setup(
name='sphinx_airflow_theme',
version='0.0.4',
url='https://github.com/apache/airflow-site/tree/aip-11',
license='Apache License 2.0',
author='Apache Software Foundation',
Expand Down
2 changes: 1 addition & 1 deletion sphinx_airflow_theme/sphinx_airflow_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from os import path
from sphinx.application import Sphinx

__version__ = '0.0.2'
__version__ = '0.0.4'
__version_full__ = __version__


Expand Down

0 comments on commit f9f2cf4

Please sign in to comment.