2019-09-23 13:20:10 +00:00
|
|
|
[![Version](https://img.shields.io/badge/version-3.0.0-yellow.svg)](https://github.com/KmolYuan/solvespace/releases/latest)
|
2019-05-28 12:00:15 +00:00
|
|
|
[![Build status](https://ci.appveyor.com/api/projects/status/b2o8jw7xnfqghqr5?svg=true)](https://ci.appveyor.com/project/KmolYuan/solvespace)
|
2019-09-23 13:20:10 +00:00
|
|
|
[![Build status](https://img.shields.io/travis/KmolYuan/solvespace.svg?logo=travis)](https://travis-ci.org/KmolYuan/solvespace)
|
|
|
|
[![PyPI](https://img.shields.io/pypi/v/python-solvespace.svg)](https://pypi.org/project/python-solvespace/)
|
2019-05-28 12:00:15 +00:00
|
|
|
[![GitHub license](https://img.shields.io/badge/license-GPLv3+-blue.svg)](https://raw.githubusercontent.com/KmolYuan/solvespace/master/LICENSE)
|
|
|
|
|
2019-09-25 10:32:27 +00:00
|
|
|
# python-solvespace
|
2019-05-28 12:00:15 +00:00
|
|
|
|
|
|
|
Python library from solver of SolveSpace.
|
|
|
|
|
2019-09-25 10:32:27 +00:00
|
|
|
+ [Python API](https://pyslvs-ui.readthedocs.io/en/stable/python-solvespace-api/)
|
|
|
|
+ [C API](https://github.com/solvespace/solvespace/blob/master/exposed/DOC.txt)
|
2019-05-28 12:00:15 +00:00
|
|
|
|
2019-09-25 10:32:27 +00:00
|
|
|
# Install
|
2019-05-28 12:00:15 +00:00
|
|
|
|
2019-09-25 10:32:27 +00:00
|
|
|
```bash
|
|
|
|
pip install python-solvespace
|
|
|
|
```
|
2019-05-28 12:00:15 +00:00
|
|
|
|
2019-09-25 10:32:27 +00:00
|
|
|
# Build and Test (Repository)
|
2019-05-28 12:00:15 +00:00
|
|
|
|
|
|
|
Build and install the module:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
python setup.py install
|
|
|
|
```
|
|
|
|
|
|
|
|
Run unit test:
|
|
|
|
|
|
|
|
```bash
|
2019-05-29 07:52:08 +00:00
|
|
|
python tests
|
2019-05-28 12:00:15 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Uninstall the module:
|
|
|
|
|
|
|
|
```bash
|
2019-09-25 10:32:27 +00:00
|
|
|
pip uninstall python-solvespace
|
2019-05-28 12:00:15 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
[GNU Make]: https://sourceforge.net/projects/mingw-w64/files/latest/download?source=files
|
|
|
|
[Cython]: https://cython.org/
|