pyeval-tools
Project description
Poetry打包并上传到Pypi
# 创建新项目
poetry new <project_name>
# 配置pypi的token
poetry config pypi-token.pypi <pypi_token>
# 构建项目
poetry build
# 构建项目并推送到Pypi
poetry publish --build
Poetry常用命令
# 初始化一个项目,如果不加-n就会询问你项目名和版本之类的
poetry init -n
#在当前目录建立虚拟环境
poetry init -C .
# 向 pyproject.toml 添加新的依赖项。等同 pip install flask
poetry add <package>
# 项目打包,然后配合 poetry publish 发布到远程存储库
poetry build
# 检查当前项目的依赖和环境是否存在问题,每次打包前都要使用一下该指令
poetry check
# 安装项目依赖
poetry install
# 更新所有依赖到最新版本
poetry update
# 更新指定依赖到最新版本
poetry update <package>
# 锁定依赖版本
poetry lock
# 运行项目,如:poetry run python3 main.py
poetry run
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
evlatools-0.1.21.tar.gz
(43.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file evlatools-0.1.21.tar.gz.
File metadata
- Download URL: evlatools-0.1.21.tar.gz
- Upload date:
- Size: 43.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.0 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a33af3a1156a06ca40a462fd0f0c441b9b7d0a34ae860b9c8f6306239870d287
|
|
| MD5 |
2df90ad2334c48deb19847d69110c63d
|
|
| BLAKE2b-256 |
a9db71e33f6d8e20e1797f78c822cbea4efc0f10eb69e74a4b6065690086288a
|
File details
Details for the file evlatools-0.1.21-py3-none-any.whl.
File metadata
- Download URL: evlatools-0.1.21-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.0 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d6e7ec9ca2b36e0c064d5ee491506a8d581fc1a91da46d860ff8d30a8b135aa
|
|
| MD5 |
d826ca002018558628617785c1b63875
|
|
| BLAKE2b-256 |
6fc6fa8e74ff7bfd5938022d45c8d0f5ea711a87dc661916f248e7592ba14c82
|