Crabpy LibraryとPyramid Frameworkのバインディング
このライブラリの詳細については、 docsをご覧ください。ドキュメントはSphinx <http://sphinx-doc.org> _を使用して構築できます。
crabpy_pyramidが存在するのと同じ環境にSphinxをインストールしていることを確認してください。
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 pip PIP pip-compile 、 uv pip syncによるREADME交換pip 、 uv pip compileまたはpip-syncの残りの部分を使用することもできます。
uv 、PIP-Tooolsの非常に速い代替品です。オプションですが、時間を節約できます。
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 "