Skip to content

Commit

Permalink
Merge pull request #47 from pysal/js/version-fix
Browse files Browse the repository at this point in the history
Implementing fix to versions for release / build
  • Loading branch information
sjsrey committed May 7, 2023
2 parents c2fc9a1 + 015e8bb commit 7149c70
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tools/gitcount.ipynb
Expand Up @@ -132,10 +132,16 @@
"outputs": [],
"source": [
"# get __version__\n",
"f = \"../{package}/__init__.py\".format(package=package_name)\n",
"\n",
"with open(f, \"r\") as initfile:\n",
" exec(initfile.readline())"
"%run ../access/_version.py"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"__version__ = get_versions()[\"version\"]"
]
},
{
Expand Down

0 comments on commit 7149c70

Please sign in to comment.