Publish Python package to pypi when a commit is tagged

* Publish to pypi from main workflow
* Remove pinning
* Include version info for proto tool in RiaVersionInfo.py
This commit is contained in:
Magne Sjaastad
2023-06-29 14:07:04 +02:00
committed by GitHub
parent 8a41d5a085
commit 8f83d25c9d
4 changed files with 58 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ with open('README.md') as f:
with open('LICENSE') as f:
license = f.read()
RIPS_DIST_VERSION = '1'
RIPS_DIST_VERSION = '2'
setup(
name='rips',
@@ -19,5 +19,5 @@ setup(
license=license,
packages=['rips'],
package_data={'rips': ['*.py', 'generated/*.py', 'PythonExamples/*.py', 'tests/*.py']},
install_requires=['grpcio>=1.20.0', 'protobuf', 'wheel']
install_requires=['grpcio', 'protobuf', 'wheel']
)