Browse Source

Update 'README.md'

天问 11 months ago
parent
commit
7bcb2c683c
1 changed files with 5 additions and 5 deletions
  1. 5 5
      README.md

+ 5 - 5
README.md

@@ -1,4 +1,5 @@
 # poetry
+依赖管理工具,集成pip, virturlenv
 
 
 ```
@@ -14,7 +15,10 @@ poetry config --list
 poetry config virtualenvs.in-project true
 
 # 国内镜像
-poetry source add --priority=default mirrors https://mirrors.aliyun.com/pypi/simple/
+poetry source add --priority=primary mirrors https://mirrors.aliyun.com/pypi/simple/
+poetry install
+poetry shell
+
 
 pyenv local 3.9.10
 poetry env use $(pyenv which python)
@@ -24,10 +28,6 @@ poetry add httpx
 poetry export -f requirements.txt --output requirements.txt --without-hashes
 
 
-
-poetry install
-poetry shell
-
 # 增加dev测试依赖
 poetry add --dev pre-commit
 poetry add --group=dev pre-commit pytest pytest-asyncio