MIT License

Copyright (c) 2026 aicodebearcm1

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

text

---

## 搭好之后验证

```cmd
cd C:\Users\lenovo\Desktop\easyfuncplot
pip install -e ".[dev]"
pytest
python examples\demo.py
前两条过了，第三条弹出图形窗口，说明项目本身没问题。

然后构建上传
cmd
rmdir /s /q dist
python -m build
twine check dist/*
twine upload dist/*
dir dist 应该只看到：

text
easyfuncplot-0.1.2-py3-none-any.whl
easyfuncplot-0.1.2.tar.gz
上传后验证
cmd
pip uninstall easyfuncplot mathplot -y
pip cache purge
pip install easyfuncplot --upgrade --no-cache-dir
python -c "import easyfuncplot; print(easyfuncplot.__version__)"
python -c "from easyfuncplot import plot; print(plot)"
应该输出 0.1.2 和函数对象。

先把项目搭起来跑通本地，遇到问题再问我。这次目录名 easyfuncplot 从头到尾统一，不会再出现 import mathplot 的坑。

