No project description provided
Project description
打包上传到pypi
# 创建项目
poetry new evlatools
# 配置pypi的Token
poetry config pypi-token.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.8.tar.gz
(43.3 kB
view details)
Built Distribution
evlatools-0.1.8-py3-none-any.whl
(19.0 kB
view details)
File details
Details for the file evlatools-0.1.8.tar.gz
.
File metadata
- Download URL: evlatools-0.1.8.tar.gz
- Upload date:
- Size: 43.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.0 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f86697f87330a1071a4d2152f5a3b60befa98db9cf1bb5890d20c61ccb045c7 |
|
MD5 | 85cb463f6916476d9eb4b918111389f3 |
|
BLAKE2b-256 | ee986db6829a48921e84d4c8dcd2116d78ab11508896f27764e6b0ed54209db1 |
File details
Details for the file evlatools-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: evlatools-0.1.8-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.0 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcdf7810f9ea592db676b2d53f99f086bd37e0f6be8ccd5dceb60a0ac842c17a |
|
MD5 | a701dec3ec2e24db5b8208c9f67437a0 |
|
BLAKE2b-256 | dcc047561de8248d2dc3202453d46e9ead60e967ab464752ccc8426f13d383ad |