Skip to content

Commit dcffd85

Browse files
committed
Update versions and add comments on how to specify the python version to use
1 parent faf6410 commit dcffd85

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Cargo.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This will build for the target platform
2+
# The python must match that (i.e., 64 bit platforms need 64 bit pythons by default)
3+
# You can specify which python to use by setting the environment variable PYO3_PYTHON to point to that python
4+
# For example
5+
# env PYO3_PYTHON=C:/usr/bin/python32-3.8 cargo build --target i686-pc-windows-msvc --release
6+
17
[package]
28
name = "MathCatForPython"
39
version = "0.1.4"
@@ -13,19 +19,19 @@ name = "libmathcat_py"
1319
crate-type = ["cdylib"]
1420

1521
[dependencies.mathcat]
16-
version = "0.1.22"
22+
version = "0.1.27"
1723
# for testing MathCAT without having to publish a new version (change two occurences)
18-
# path = "../MathCAT/"
24+
path = "../MathCAT/"
1925

2026
[dependencies.pyo3]
2127
version = "0.15.1"
2228
features = ["extension-module", "abi3"]
2329

2430
[build-dependencies]
2531
zip = { version = "0.6.2", default-features = false, features = ["deflate"] }
26-
mathcat = "0.1.22"
32+
# mathcat = "0.1.27"
2733
# for testing MathCAT without having to publish a new version (change two occurences)
28-
#mathcat = {version= "0.1.22", path = "../MathCAT/"}
34+
mathcat = {version= "0.1.27", path = "../MathCAT/"}
2935

3036

3137
[profile.release]

0 commit comments

Comments
 (0)