Skip to content

Commit 852e330

Browse files
committed
prepare for version 1.0
1 parent 952503e commit 852e330

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
PYTHON=python3
44
branch := $(shell git symbolic-ref --short -q HEAD)
5+
CIBW_BEFORE_BUILD="pip install numpy cython"
6+
57

68
help :
79
@echo "The following make targets are available:"
@@ -73,5 +75,8 @@ autopep8 :
7375

7476
aautopep8 :
7577
autopep8 -air test ot examples --jobs -1
78+
79+
wheels:
80+
cibuildwheel --platform linux --output-dir dist
7681

7782
FORCE :

ot/__init__.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,11 @@
7171
# utils functions
7272
from .utils import dist, unif, tic, toc, toq
7373

74-
__version__ = "0.5.1"
75-
76-
__all__ = ["emd", "emd2", 'emd_1d', "sinkhorn", "sinkhorn2", "utils", 'datasets',
77-
'bregman', 'lp', 'tic', 'toc', 'toq', 'gromov',
78-
'emd_1d', 'emd2_1d', 'wasserstein_1d',
79-
'dist', 'unif', 'barycenter', 'sinkhorn_lpl1_mm', 'da', 'optim',
80-
'sinkhorn_unbalanced', "barycenter_unbalanced"]
74+
__version__ = "1.0.0"
75+
76+
__all__ = ["emd", "emd2", 'emd_1d','emd2_1d', 'wasserstein_1d',
77+
"sinkhorn", "sinkhorn2", 'barycenter',
78+
'sinkhorn_lpl1_mm',
79+
'sinkhorn_unbalanced', "barycenter_unbalanced",
80+
'dist', 'unif', 'tic', 'toc', 'toq',
81+
"utils", 'datasets', 'bregman', 'lp', 'gromov', 'da', 'optim']

0 commit comments

Comments
 (0)