Skip to content

Commit

Permalink
Squashed commit.
Browse files Browse the repository at this point in the history
Bump to v0.1.0.
handle spaces in Windows build directories and terminate builds early on copy errors
Cleanup of CHANGELOG.
  • Loading branch information
interpret-ml committed May 14, 2019
1 parent b50e230 commit 1816572
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 21 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.0] - 2019-05-14
## [v0.1.0] - 2019-05-14
### Added
- Added port number assignments for 'show' method.
- Codebase of v0.0.1 to v0.0.6.
- Includes codebase of v0.0.6.
### Changed
- Native code build scripts hardened.
- Libraries are statically linked where possible.
- Code now conforms to Python Black and its associated flake8.

[Unreleased]: https://github.com/olivierlacan/keep-a-changelog/compare/v1.0.0...HEAD
[0.1.0]: https://github.com/microsoft/interpret/releases/tag/v0.0.1
[v0.1.0]: https://github.com/microsoft/interpret/releases/tag/v0.0.1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# InterpretML - Alpha Release
# InterpretML

![License](https://img.shields.io/github/license/microsoft/interpret.svg?style=flat-square)
![Python Version](https://img.shields.io/pypi/pyversions/interpret.svg?style=flat-square)
Expand Down
96 changes: 80 additions & 16 deletions src/core/ebmcore/ebmcore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,26 @@
<ModuleDefinitionFile>ebmcore.def</ModuleDefinitionFile>
</Link>
<PostBuildEvent>
<Command>xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86_debug.dll $(ProjectDir)..\..\..\src\python\interpret\lib\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86_debug.pdb $(ProjectDir)..\..\..\src\python\interpret\lib\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86_debug.dll $(ProjectDir)..\..\..\staging\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86_debug.pdb $(ProjectDir)..\..\..\staging\
<Command>xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86_debug.dll" "$(ProjectDir)..\..\..\src\python\interpret\lib\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86_debug.pdb" "$(ProjectDir)..\..\..\src\python\interpret\lib\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86_debug.dll" "$(ProjectDir)..\..\..\staging\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86_debug.pdb" "$(ProjectDir)..\..\..\staging\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
Expand All @@ -141,10 +157,26 @@ xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSB
<ModuleDefinitionFile>ebmcore.def</ModuleDefinitionFile>
</Link>
<PostBuildEvent>
<Command>xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64_debug.dll $(ProjectDir)..\..\..\src\python\interpret\lib\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64_debug.pdb $(ProjectDir)..\..\..\src\python\interpret\lib\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64_debug.dll $(ProjectDir)..\..\..\staging\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64_debug.pdb $(ProjectDir)..\..\..\staging\
<Command>xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64_debug.dll" "$(ProjectDir)..\..\..\src\python\interpret\lib\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64_debug.pdb" "$(ProjectDir)..\..\..\src\python\interpret\lib\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64_debug.dll" "$(ProjectDir)..\..\..\staging\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64_debug.pdb" "$(ProjectDir)..\..\..\staging\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
Expand Down Expand Up @@ -173,10 +205,26 @@ xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSB
<ModuleDefinitionFile>ebmcore.def</ModuleDefinitionFile>
</Link>
<PostBuildEvent>
<Command>xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86.dll $(ProjectDir)..\..\..\src\python\interpret\lib\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86.pdb $(ProjectDir)..\..\..\src\python\interpret\lib\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86.dll $(ProjectDir)..\..\..\staging\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86.pdb $(ProjectDir)..\..\..\staging\
<Command>xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86.dll" "$(ProjectDir)..\..\..\src\python\interpret\lib\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86.pdb" "$(ProjectDir)..\..\..\src\python\interpret\lib\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86.dll" "$(ProjectDir)..\..\..\staging\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x86.pdb" "$(ProjectDir)..\..\..\staging\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
Expand Down Expand Up @@ -205,10 +253,26 @@ xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSB
<ModuleDefinitionFile>ebmcore.def</ModuleDefinitionFile>
</Link>
<PostBuildEvent>
<Command>xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64.dll $(ProjectDir)..\..\..\src\python\interpret\lib\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64.pdb $(ProjectDir)..\..\..\src\python\interpret\lib\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64.dll $(ProjectDir)..\..\..\staging\
xcopy /Y $(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64.pdb $(ProjectDir)..\..\..\staging\
<Command>xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64.dll" "$(ProjectDir)..\..\..\src\python\interpret\lib\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64.pdb" "$(ProjectDir)..\..\..\src\python\interpret\lib\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64.dll" "$(ProjectDir)..\..\..\staging\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
xcopy /Y "$(ProjectDir)..\..\..\tmp\vs\bin\$(Configuration)\win\$(Platform)\$(MSBuildProjectName)\ebmcore_win_x64.pdb" "$(ProjectDir)..\..\..\staging\"
IF %ERRORLEVEL% NEQ 0 (
ECHO xcopy returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"""

name = "interpret"
version = "0.0.6"
version = "0.1.0"
setup(
name=name,
version=version,
Expand Down

0 comments on commit 1816572

Please sign in to comment.