Skip to content

Commit

Permalink
Set download_url in setup.py, now required by PyPI. (#301)
Browse files Browse the repository at this point in the history
# Fixes
- Fixed 400 error during release build push to PyPI
  • Loading branch information
adamshapiro0 authored Mar 19, 2024
2 parents 14a5a84 + 98eb2b3 commit 9853141
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,5 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: python/dist/
packages-dir: python/dist/
verbose: true
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ endif()
# Define the project and setup the compiler toolchain. This will establish
# default compiler/linker flags. If the user specifies a cross-compilation
# toolchain (-DCMAKE_TOOLCHAIN_FILE=...), it will be applied now.
project(p1_fusion_engine_client VERSION 1.22.7)
project(p1_fusion_engine_client VERSION 1.22.8)

# Set additional compilation flags.
if (MSVC)
Expand Down
2 changes: 1 addition & 1 deletion python/fusion_engine_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__all__ = ['analysis', 'applications', 'messages', 'parsers', 'utils']
__version__ = '1.22.7'
__version__ = '1.22.8.dev1'
__author__ = 'Point One Navigation'
1 change: 1 addition & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def find_version(*file_paths):
'Topic :: Software Development :: Libraries :: Python Modules',
],
url='https://github.com/PointOneNav/fusion-engine-client',
download_url=f'https://github.com/PointOneNav/fusion-engine-client/archive/refs/tags/v{version}.tar.gz',
packages=find_packages(where='.'),
entry_points={
'console_scripts': [
Expand Down
4 changes: 2 additions & 2 deletions src/point_one/fusion_engine/common/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#define P1_FUSION_ENGINE_VERSION_STRING "1.22.7"
#define P1_FUSION_ENGINE_VERSION_STRING "1.22.8.dev1"
#define P1_FUSION_ENGINE_VERSION_MAJOR 1
#define P1_FUSION_ENGINE_VERSION_MINOR 22
#define P1_FUSION_ENGINE_VERSION_PATCH 7
#define P1_FUSION_ENGINE_VERSION_PATCH 8

0 comments on commit 9853141

Please sign in to comment.