Skip to content

Commit 555c2af

Browse files
authored
Prepare release (2) (#497)
* set CIBW_ENVIRONMENT_PASS_LINUX for transmitting the version number to linux docker containers * set CIBW_ENVIRONMENT_PASS_LINUX for transmitting the version number to linux docker containers * Doc for pyproject.toml
1 parent 2b99252 commit 555c2af

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

githubproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ build-verbosity = "1"
7171
[tool.cibuildwheel.macos]
7272
archs = ["x86_64", "arm64"]
7373

74+
[tool.cibuildwheel.linux]
75+
# Pass the detected PyAT version to the linux docker containers
76+
environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]
77+
7478
[tool.setuptools_scm]
7579
write_to = "pyat/at/_version.py"
7680
git_describe_command = "git describe --dirty --tags --long --match pyat-[0-9]*"

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ build-verbosity = "1"
6767
[tool.cibuildwheel.macos]
6868
archs = ["x86_64", "arm64"]
6969

70+
[tool.cibuildwheel.linux]
71+
# Pass the detected PyAT version to the linux docker containers
72+
environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]
73+
7074
[tool.setuptools_scm]
7175
write_to = "pyat/at/_version.py"
7276
git_describe_command = "git describe --dirty --tags --long --match pyat-[0-9]*"

0 commit comments

Comments
 (0)