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
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c788e9c14188e675a5ea14456f07e1fbfb46fa1512ede6756a86ebd87a05b09
|
|
| MD5 |
4e946b6de75acc50681ae6750a3058f5
|
|
| BLAKE2b-256 |
7403412e4676754b0c0f945faa65910aa75f786744b0fa757ccf661677fa84d0
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1347f8235d83124d3838c29d2be764028e21122eb9c44703c17fc2ff56c24f35
|
|
| MD5 |
57ac2bb78f3694e29e6389a5c2483033
|
|
| BLAKE2b-256 |
25f204afe9daebd7080030b52098b29fd6643398f62b0bb8fb4e38a15a9d30b3
|