Merge branch 'KimSangYeon-DGU-version'
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
* Validate md5 of STB library after download (#2087).
|
||||
|
||||
* Add `__version__` to `__init__.py` (#2092).
|
||||
|
||||
### mlpack 3.2.1
|
||||
###### 2019-10-01
|
||||
* Enforce CMake version check for ensmallen (#2032).
|
||||
|
||||
@@ -140,6 +140,10 @@ if (BUILDING_PYTHON_BINDINGS)
|
||||
COMMENT "Configuring setup.py...")
|
||||
add_dependencies(python_configure python_copy)
|
||||
add_dependencies(python_configured python_configure)
|
||||
|
||||
# Append the package version to __init__.py after all the imports are loaded.
|
||||
file(APPEND ${CMAKE_BINARY_DIR}/src/mlpack/bindings/python/mlpack/__init__.py
|
||||
"__version__='${PACKAGE_VERSION}'\n")
|
||||
endif ()
|
||||
|
||||
# If we are building Markdown documentation, we have to run some setup after we
|
||||
|
||||
Reference in New Issue
Block a user