未验证 提交 eb18d33a 编写于 作者: F Frost Ming

Bump version to 0.1.0

上级 bf1e9a96
......@@ -15,11 +15,13 @@ you can probably find some goodness in `pdm`.
**Open for feature requests, find yourself at https://github.com/pdm-project/call-for-features.**
## Highlights of features
* PEP 582 local package installer and runner, no virtualenv involved at all.
* Simple and relatively fast dependency resolver, mainly for large binary distributions.
* A PEP 517 build backend.
- PEP 582 local package installer and runner, no virtualenv involved at all.
- Simple and relatively fast dependency resolver, mainly for large binary distributions.
- A PEP 517 build backend.
## Why not virtualenv?
Now the majority of Python packaging tools also act as virtualenv managers. It is for the benifit
of isolating project environments. But things will get tricky when it comes to nested venvs: One
installs the virtualenv manager using a venv capsulated Python, and create more venvs using the tool
......@@ -33,9 +35,12 @@ Moreover, due to the same reason, it can't act as a PEP 517 backend.
## Installation:
PDM requires python version 3.7 or higher.
```bash
$ pipx install pdm
```
It is recommended to install `pdm` in an isolated enviroment, with `pipx`.
Or you can install it under user site:
......@@ -48,20 +53,6 @@ $ pip install --user pdm
`python -m pdm --help` should be a good guidance.
## 0.1.0 Roadmap
- [x] A dependency resolver that just works.
- [x] A PEP 582 installer.
- [x] PEP 440 version specifiers.
- [x] PEP 508 environment markers.
- [x] Running scripts with PEP 582 local packages.
- [x] Console scripts are injected with local paths.
- [x] A neet CLI.
- [x] `add`, `lock`, `list`, `update`, `remove`, `build` commands.
- [x] PEP 517 build backends.
- [x] Continuous Integration.
## Credits
This project is strongly inspired by [pyflow] and [poetry].
......@@ -69,6 +60,6 @@ This project is strongly inspired by [pyflow] and [poetry].
[pyflow]: https://github.com/David-OConnor/pyflow
[poetry]: https://github.com/python-poetry/poetry
## License
This project is open sourced under MIT license, see the [LICENSE](LICENSE) file for more details.
......@@ -6,18 +6,20 @@
## 这个项目是啥?
PDM旨在成为下一代Python软件包管理工具。它最初是为个人兴趣而诞生的。如果你觉得 `pipenv` 或者
PDM 旨在成为下一代 Python 软件包管理工具。它最初是为个人兴趣而诞生的。如果你觉得 `pipenv` 或者
`poetry` 用着非常好,并不想引入一个新的包管理器,那么继续使用它们吧;但如果你发现有些东西这些
工具不支持,那么你很可能可以在 `pdm` 中找到。
**需求收集正在进行中,请戳 https://github.com/pdm-project/call-for-features.**
## 主要特性
* PEP 582 本地项目库目录,支持安装与运行命令,完全不需要虚拟环境。
* 一个简单且相对快速的依赖解析器,特别是对于大的二进制包发布。
* 兼容 PEP 517 的构建后端,用于构建发布包(源码格式与 wheel 格式)
- PEP 582 本地项目库目录,支持安装与运行命令,完全不需要虚拟环境。
- 一个简单且相对快速的依赖解析器,特别是对于大的二进制包发布。
- 兼容 PEP 517 的构建后端,用于构建发布包(源码格式与 wheel 格式)
## 为什么不用虚拟环境?
现在大部分的 Python 包管理器也同时管理虚拟环境,这主要是为了隔离项目开发环境。但如果涉及到虚拟
环境嵌套虚拟环境的时候,问题就来了:你可能用一个虚拟环境的 Python 安装了某个虚拟环境管理工具,
然后又用这个工具去创建更多虚拟环境。当某一天你升级了新版本的 Python 你必须一个一个去检查这些
......@@ -29,9 +31,12 @@ PDM旨在成为下一代Python软件包管理工具。它最初是为个人兴
## 安装:
PDM 需要 Python 3.7 或更高版本。
```bash
$ pipx install pdm
```
强烈推荐把 `pdm` 安装在一个隔离环境中, 用 `pipx` 是坠吼的。
或者你可以将它安装在用户目录下:
......@@ -44,20 +49,6 @@ $ pip install --user pdm
作者很懒,还没来得及写,先用 `python -m pdm --help` 查看帮助吧。
## 0.1.0 Roadmap
- [x] 可以用的依赖解析器
- [x] PEP 582 安装器
- [x] PEP 440 版本标识符
- [x] PEP 508 环境标记
- [x] PEP 582 脚本运行
- [x] 命令行程序自动运行在 PEP 582 本地环境中
- [x] 一个优雅的命令行界面
- [x] `add`, `lock`, `list`, `update`, `remove`, `build` 命令
- [x] PEP 517 构建后端
- [x] 持续集成
## Credits
本项目的受到 [pyflow] 与 [poetry] 的很多启发。
......@@ -66,4 +57,5 @@ $ pip install --user pdm
[poetry]: https://github.com/python-poetry/poetry
## License
本项目基于 MIT 协议开源,具体可查看 [LICENSE](LICENSE)
__version__ = "0.0.6"
__version__ = "0.1.0"
[tool.pdm]
name = "pdm"
version = "0.0.6"
version = "0.1.0"
description = "Python Development Master"
author = "frostming <mianghong@gmail.com>"
license = "MIT"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册