Skip to content

Commit

Permalink
commit for v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bcharlier committed Jul 10, 2019
1 parent 6eabdcb commit 76578a7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
* v1.1
- Add Support for LazyTensor
- Improve the documentation
- Refactor KeOps cpp directory structure
- Improve build dir structure: builds are done in a subdirectory and builds junks are removed after sucessful compilation. Add keops_hash.log file to decypher .so names.
- Add support for environment variable (PYKEOS_VERBOSE and PYKEOPS_BUILD_TYPE) to make debug and verbosity easier


* v1.0.2
- fix a bug in variable parsing for pykeops bindings
- KernelSolve syntax: move alpha kwarg in 'KernelSolve.__call__'
Expand Down
4 changes: 2 additions & 2 deletions doc/generate_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ while getopts "v:" opt; do
case ${opt} in
v ) version=${OPTARG##v}
echo "Set a new version number: ${version}"
sed -i.bak "/__version__/c__version__ = \'$version\'" pykeops/__init__.py
sed -i.bak "/__version__/c__version__ = \'$version\'" ../pykeops/__init__.py
;;
\? ) echo "Usage: generate_doc [-v VERSION_NUMBER]"
exit -1
Expand All @@ -30,5 +30,5 @@ find . -path "*_auto_*" -name "index.html" -exec sed -i "s/doc\/_auto_\(.*\)\/in

# restore original __init__.py
if [ ! -z "$version" ]; then
mv pykeops/__init__.py.bak pykeops/__init__.py
mv ../pykeops/__init__.py.bak ../pykeops/__init__.py
fi
2 changes: 1 addition & 1 deletion doc/python/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ You can force the (re)compilation of the KeOps shared objects by changing the bu

.. code-block:: bash
export PYKEOPS_VERBOSE="Debug"
export PYKEOPS_BUILD_TYPE="Debug"
python my_script_calling_pykeops.py
Or directly in your python script, altering the value of the (string) variable ``pykeops.build_type`` right **after** your KeOps imports. In a python shell, simply type:
Expand Down
2 changes: 1 addition & 1 deletion pykeops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from .common.set_path import set_build_folder

__version__ = '1.1a'
__version__ = '1.1'

###########################################################
# Initialize some variables: the values may be redefined
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
'pykeops',
'pykeops.common',
'pykeops.numpy',
'pykeops.numpy.cluster',
'pykeops.numpy.convolutions',
'pykeops.numpy.generic',
'pykeops.numpy.shape_distance',
Expand Down

0 comments on commit 76578a7

Please sign in to comment.