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.18.tar.gz
(43.4 kB
view details)
Built Distribution
File details
Details for the file evlatools-0.1.18.tar.gz
.
File metadata
- Download URL: evlatools-0.1.18.tar.gz
- Upload date:
- Size: 43.4 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 | 9645d130c524d881cf308890b88937ec2f707b3fe348915bddd68b391354ceba |
|
MD5 | f6655489a079729c1e7b031f315ee0ff |
|
BLAKE2b-256 | 7222e8a309d80629437632682314914e2aff50b7158750e9c9fe4741c3132fa9 |
File details
Details for the file evlatools-0.1.18-py3-none-any.whl
.
File metadata
- Download URL: evlatools-0.1.18-py3-none-any.whl
- Upload date:
- Size: 19.1 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 | ccea58e4cb1d8e5ab83659b2110ab70ffc99d6799ffd93798018e2ff5caac9ed |
|
MD5 | 3c4174249bb80d8d18f2dbd7f54d4441 |
|
BLAKE2b-256 | e5a31a297d8d44efac4d5e7071f6ce3579a92f46ab411d3ec2fcf91c643d4630 |