Skip to main content

Add your description here

Project description

创建项目

几个常用的选项如下:

uv init --app 创建一个普通的app, 这个也是默认的选项,这种就是最基础的项目,这类型的项目不能直接打包,由于pyproject.toml 中没有配置build system

uv init --package 创建一个“包”, 这类型的项目可以被打包发布,pyproject.toml 中会自动配置 build system,并且可以发布为工具(tool),使用 uv tool run (或者 uvx )来直接运行(本节重点介绍此种方式创建的包)

uv init --lib 创建一个"库", 这种和package 的区别在于没有project.scripts, 不能当工具来使用

上一节使用 uv init xxxx 来初始化一个普通的项目,普通的项目没有打包编译选项。

windows

py -m build

unlix/macOS

python3 -m build

uv run twine upload dist/*

MCP测试:npx @modelcontextprotocol/inspector uvx KxmcMcpFileSystemWin

setup.py参考:https://github.com/cs01/pycowsay

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

kxmcmfsw-0.1.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kxmcmfsw-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file kxmcmfsw-0.1.0.tar.gz.

File metadata

  • Download URL: kxmcmfsw-0.1.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for kxmcmfsw-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c788e9c14188e675a5ea14456f07e1fbfb46fa1512ede6756a86ebd87a05b09
MD5 4e946b6de75acc50681ae6750a3058f5
BLAKE2b-256 7403412e4676754b0c0f945faa65910aa75f786744b0fa757ccf661677fa84d0

See more details on using hashes here.

File details

Details for the file kxmcmfsw-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kxmcmfsw-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for kxmcmfsw-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1347f8235d83124d3838c29d2be764028e21122eb9c44703c17fc2ff56c24f35
MD5 57ac2bb78f3694e29e6389a5c2483033
BLAKE2b-256 25f204afe9daebd7080030b52098b29fd6643398f62b0bb8fb4e38a15a9d30b3

See more details on using hashes here.

Supported by

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