Skip to main content

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


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.17.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

evlatools-0.1.17-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file evlatools-0.1.17.tar.gz.

File metadata

  • Download URL: evlatools-0.1.17.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

Hashes for evlatools-0.1.17.tar.gz
Algorithm Hash digest
SHA256 b7d065a7402594404f46d706f78bb63fa08c5d39113ed0656e0774016359b2e4
MD5 6b9a5648b15e831d6c7eb259f0940868
BLAKE2b-256 8c0a62ead961c8c0bdf2903502506b4c7952367a0f5b0e5a2b0192a544d2fd8c

See more details on using hashes here.

File details

Details for the file evlatools-0.1.17-py3-none-any.whl.

File metadata

  • Download URL: evlatools-0.1.17-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

Hashes for evlatools-0.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 ede07c8fb396bec7d33c7a3bd72307df814d94c9eb03ee884fc9fb0ec528395f
MD5 a508a44b6a4c2d9da0e8788a35bf692b
BLAKE2b-256 f513807c948b1766fef5aefff182c39722056cf7f3b8ee9f531c6bd6f60655ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page