Skip to content

Build and publish python wrapper for Ubuntu

Zakhar Shkonda requested to merge python into master

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [No]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Brief description

Added building segysdk python wrapper for ubuntu and publishing into pypi and to the generic package registry.
To the generic package registry, uploading all segysdk binaries.
The version for binaries is CI_PIPELINE_ID.
For wheel version is CI_PIPELINE_ID-CI_JOB_ID
Only binaries built in the master branch are published.

HOWTO install python package:

1. Generate token in personal profile with read_api permission
2. Add to the $HOME/.pypirc file:

[gitlab]
repository = https://community.opengroup.org/api/v4/projects/460/packages/pypi
username = _token_
password = <your personal access token>

Where
_token_ is your username in community.opengroup.org.
<your personal access token> is a token generated on the previous step.

3. pip install segysdk-python

Alternative way to install

pip install segysdk-python --extra-index-url https://__token__:<your_personal_token>@community.opengroup.org/api/v4/projects/460/packages/pypi/simple

Edited by Zakhar Shkonda

Merge request reports