Shapely 1.8.5 中文文档

  1. 主页
  2. 文档
  3. Shapely 1.8.5 中文文档
  4. The Project(Shapely)
  5. Development and Testing(开发和测试)

Development and Testing(开发和测试)

Dependencies for developing Shapely are listed in requirements-dev.txt. Cython and Numpy are not required for production installations, only for development. Use of a virtual environment is strongly recommended.

在requirements-dev.txt中列出了开发Shapely的依赖项。Cython和Numpy在生产中是不需要的,只用于开发。强烈建议使用虚拟环境。

$ virtualenv .
$ source bin/activate
(env)$ pip install -r requirements-dev.txt
(env)$ pip install -e .

The project uses pytest to run Shapely’s suite of unittests and doctests.

该项目使用pytest来运行Shapely的单元测试和测试套件。

(env)$ python -m pytest
标签 ,
这篇文章对您有用吗?

我们要如何帮助您?

欢迎留下您的宝贵建议

Please enter your comment!
Please enter your name here