<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>发布 on FlagGems</title><link>https://flagos-ai.github.io/FlagGems/zh-cn/release/</link><description>Recent content in 发布 on FlagGems</description><generator>Hugo</generator><language>zh-cn</language><atom:link href="https://flagos-ai.github.io/FlagGems/zh-cn/release/index.xml" rel="self" type="application/rss+xml"/><item><title>版本管理</title><link>https://flagos-ai.github.io/FlagGems/zh-cn/release/versioning/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://flagos-ai.github.io/FlagGems/zh-cn/release/versioning/</guid><description>&lt;!--
 Copyright 2026 FlagOS Contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 --&gt;
&lt;!--
# Versioning

FlagGems uses [setuptools-scm](https://github.com/pypa/setuptools-scm) to
auto-generate version numbers from git tags following
[PEP 440](https://peps.python.org/pep-0440/).
--&gt;
&lt;h1 id="版本管理"&gt;版本管理&lt;a class="anchor" href="#%e7%89%88%e6%9c%ac%e7%ae%a1%e7%90%86"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;FlagGems 使用 &lt;a href="https://github.com/pypa/setuptools-scm"&gt;setuptools-scm&lt;/a&gt;
从 git 标签自动生成符合 &lt;a href="https://peps.python.org/pep-0440/"&gt;PEP 440&lt;/a&gt; 规范的版本号。&lt;/p&gt;</description></item><item><title>打包</title><link>https://flagos-ai.github.io/FlagGems/zh-cn/release/packaging/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://flagos-ai.github.io/FlagGems/zh-cn/release/packaging/</guid><description>&lt;!--
 Copyright 2026 FlagOS Contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 --&gt;
&lt;!--
# Packaging

Creating a source or binary distribution is similar to
[building and installing from source](/FlagGems/getting-started/installation/#install-from-source).
It involves invoking a build-frontend (such as `pip` or `build`) and pass the command
to the build-backend (`setuptools` for the main `flag-gems` package;
`scikit-build-core` for the `cpp/` C++ extension package).
--&gt;
&lt;h1 id="关于打包与发布"&gt;关于打包与发布&lt;a class="anchor" href="#%e5%85%b3%e4%ba%8e%e6%89%93%e5%8c%85%e4%b8%8e%e5%8f%91%e5%b8%83"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;创建源码或二进制发行包的过程类似于基于&lt;a href="https://flagos-ai.github.io/FlagGems/zh-cn/getting-started/installation/#install-from-source"&gt;源码来构建和安装&lt;/a&gt;的过程。
打包过程包括对前端（如 &lt;code&gt;pip&lt;/code&gt; 或 &lt;code&gt;build&lt;/code&gt;）的调用以及将命令发送给后端
（主包 &lt;code&gt;flag-gems&lt;/code&gt; 使用 &lt;code&gt;setuptools&lt;/code&gt;，&lt;code&gt;cpp/&lt;/code&gt; C++ 扩展包使用 &lt;code&gt;scikit-build-core&lt;/code&gt;）。&lt;/p&gt;</description></item></channel></rss>