Skip to content

Commit

Permalink
Fix for wrong version info on conda package
Browse files Browse the repository at this point in the history
Uploaded sample test file

Conda specific enhancement for version info which always informed 0.0.0
  • Loading branch information
wxguy committed Feb 7, 2023
1 parent 70617ed commit c003429
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release-pip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
run: |
#echo "Updating '_version' file with: '$(setuptools-git-versioning)'..."
#echo -e "# Generated by wrfplot build process. Do not edit it manually...\n__version__ = version = '$(setuptools-git-versioning)'" > _version.py
python -m build --sdist
# python -m build --sdist
python setup.py egg_info --egg-base /tmp/ sdist
- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1.5
with:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def my_release_branch_semver_version(version):
name=NAME,
# use_scm_version=_version,
# setup_requires=['setuptools_scm'],
#setuptools_git_versioning={"enabled": True,},
#setup_requires=["setuptools-git-versioning<2"],
# setuptools_git_versioning={"enabled": True,},
# setup_requires=["setuptools-git-versioning<2"],
description=DESCRIPTION,
long_description=long_description,
author=AUTHOR,
Expand Down
Binary file added tests/wrfout_data/wrfout_d01_2021-05-13_00_00_00
Binary file not shown.

0 comments on commit c003429

Please sign in to comment.