Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Using YAML to Configure a Build with Setuptools

Updated on 2023-12-21 GMT+08:00
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
version: 2.0 # The value must be 2.0.
steps:
  BUILD:
    - python: 
        name: Build with Setuptools
        image: cloudbuild@python3.6
        inputs: 
          command: |
            pip config set global.index-url https://pypi.org/simple
            pip config set global.trusted-host repo.xxcloud.com
            python setup.py bdist_egg

Parameter

Type

Description

Mandatory

Default Value

name

/

Name of a build action. It can be customized.

No

None

image

/

Image version. cloudbuild@ is a fixed part, followed by the supported Python version. You can view the tool versions supported for Build with Setuptools in the graphical build mode.

No

cloudbuild@python3.6

command

string

Execute commands and enter required code.

Yes

None

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback