crabpy_pyramid
2.2.0
粗糙庫和金字塔框架的綁定
有關此庫的更多信息可以在docs中找到。可以使用Sphinx <http://sphinx-doc.org> _構建文檔。
請確保您已經在存在Crabpy_pyramid的同一環境中安裝了獅身人面像。
pip install sphinx sphinxcontrib-httpdomain
pip install -e .
cd docs
make htmlpip install hatch
hatch build
hatch build -t wheel
hatch build -t sdist完整文檔:https://pip-tools.readthedocs.io/en/latest/
首先,首先安裝pip-tools:
pip install pip-tools您也可以使用uv的其餘部分使用UV,由uv pip , uv pip compile PIP編譯和uv pip sync替換pip , pip-compile編譯或pip-sync 。
uv是PIP-COOLS的快速替代品。這是可選的,但可以節省很多時間。
pip install uv注意, pip-sync還卸載了根據需求文件不屬於那裡的Virtualenv的所有內容。這包括項目本身。在pip-sync之後,您將必須再次安裝crabpy_pyramid 。由於PIP -Sync的需求文件仍然是一個普通需求文件,因此您還可以使用pip install -r安裝其中定義的所有庫。這不會清理您的Virtualenv並卸載其他庫。
編譯的需求文件是在3.11環境中製作的。
pip-sync requirements-dev.txt
pip install -e . requirements-dev.txt包含所有圖書館,這些庫解解了用於測試和開發的圖書館。
requirements.txt僅包含運行庫的必要庫。
echo -e " nStarting "
PIP_COMPILE_ARGS= " -q --strip-extras --no-header --resolver=backtracking --no-emit-options pyproject.toml "
pip-compile $PIP_COMPILE_ARGS -o requirements.txt ;
echo " requirements.txt done "
pip-compile $PIP_COMPILE_ARGS --extra dev -o requirements-dev.txt ;
echo " requirements-dev.txt done "
echo " Finished "