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 "