Skip to content

Commit 3770277

Browse files
committed
apib11: doc
1 parent ad3d0a1 commit 3770277

File tree

3 files changed

+43
-4
lines changed

3 files changed

+43
-4
lines changed

MMVII/apib11/.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Tmp-MM-Dir
77
*.jpg
88
*.TIF
99
*.tif
10-
Dist/
11-
build/
10+
/dist/
11+
/build/
1212
MMVII.egg-info/
1313
Tmmmp-MM-Dir/
14+
__pycache__

MMVII/apib11/README.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,40 @@
1-
pip3 install pybind11_mkdoc
1+
MicMac v2 Python3 API
2+
=====================
23

4+
Compilation
5+
-----------
6+
7+
First, compile MMv1 and MMv2.
8+
9+
Then, in 'apib11' directory:
10+
11+
make
12+
13+
The module can be used from this directory without installation (this local version has priority to installed modules).
14+
15+
Installation
16+
------------
17+
18+
make install
19+
20+
Distribution
21+
------------
22+
23+
The file dist/MMVII-*.whl, created at compilation, can be distributed to machines with same OS, arch and python version.
24+
25+
It can be installed with:
26+
27+
pip3 install MMVII-*.whl
28+
29+
Upgrade pip if needed:
30+
31+
python3 -m pip install --upgrade pip
32+
33+
Usage
34+
-----
35+
36+
```python
37+
import MMVII
38+
```
39+
40+
See 'examples' directory for use cases.

MMVII/apib11/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "pybind11"]
2+
requires = ["setuptools", "wheel", "pybind11", "pybind11_mkdoc"]
33
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)