Skip to content

Commit

Permalink
Merge pull request #24 from DemocracyClub/hotfix/get_version
Browse files Browse the repository at this point in the history
get version from __init__.py
  • Loading branch information
Virginia Dooley authored Aug 12, 2022
2 parents ac22c8b + e0014f8 commit cfc9213
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import os
import json
from setuptools import find_packages, setup

import uk_geo_utils


# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
Expand All @@ -15,9 +18,13 @@ def _get_description():
return ""


def get_version():
return uk_geo_utils.__version__


setup(
name="uk_geo_utils",
version="0.10.3",
version=get_version(),
author="chris48s",
license="MIT",
url="https://github.com/DemocracyClub/uk-geo-utils",
Expand Down

0 comments on commit cfc9213

Please sign in to comment.