<aside>
</aside>
build
) ์ญํ ์ดํด.whl
)๊ณผ Sdist(.tar.gz
) ๋ฐฐํฌ ํ์ ์ฐจ์ด ์ดํดbuild
์ธ์
์์ฑ (python -m build
์คํ)twine
) ์ญํ ์ดํด ๋ฐ TestPyPI ํ์ฉ ์์ ํ ๋ฐฐํฌ ์ฐ์ต ๋ฐฉ๋ฒ ์๊ธฐrelease
์ธ์
Nox ๊ตฌ์ฑ ๊ฐ๋
์ดํดํ๋ก์ ํธ ๊ตฌ์กฐ:
graph TD
A(my-pytest-project) --> B(.venv);
A --> C(mycalc);
A --> D(tests);
A --> E(pytest.ini);
A --> F(noxfile.py build,release ์ธ์
์ถ๊ฐ);
A --> G(requirements-dev.txt build,twine ์ถ๊ฐ);
A --> H(pyproject.toml ํจํค์ง ๋ฉํ๋ฐ์ดํฐ,๋น๋ ์ค์ );
A --> I(dist ๋น๋ ๊ฒฐ๊ณผ๋ฌผ ํด๋ ์๋ ์์ฑ);
C --> ...;
D --> ...;
style B fill:#eee,stroke:#333,stroke-dasharray: 5 5;
style C fill:#ccf,stroke:#333;
style D fill:#cfc,stroke:#333;
style E fill:#fef,stroke:#333;
style F fill:#ffc,stroke:#333;
style G fill:#eee,stroke:#333;
style H fill:#eef,stroke:#333;
style I fill:#ddd, stroke:#333, stroke-dasharray: 5 5;
requirements-dev.txt
(๋น๋/๋ฐฐํฌ ๋๊ตฌ ์ถ๊ฐ):pyproject.toml
(ํจํค์ง ์ค์ ํ์ธ):([build-system]
๊ณผ [project]
ํ
์ด๋ธ ํ์)noxfile.py
(build
, release
์ธ์
์ถ๊ฐ):