Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Commit

Permalink
0.2.4.dev2 --> 0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bellert committed Feb 15, 2018
1 parent b5b16fa commit cc44ee7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
12 changes: 5 additions & 7 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:
# PyPI login
username: dwtools
password:
secure: G0CMe8ljy4PrXAaB1nR76A==
secure: 9/YAQhmz9Kb1ZeXzhBYeQA==

matrix:
# Python < 2.7 is not supported by dimod
Expand Down Expand Up @@ -82,10 +82,8 @@ install:

build_script:
# Build the compiled extension
- cd python
- "%CMD_IN_ENV% python setup.py bdist_wheel"
- cd ..
- pip install dwave_qbsolv --no-index -f python\\dist\\
- pip install dwave_qbsolv --no-index -f dist\\

test_script:
# Run the project tests
Expand All @@ -95,15 +93,15 @@ after_test:
# If tests are successful, create binary packages for the project.
#- "%CMD_IN_ENV% python setup.py bdist_wininst"
#- "%CMD_IN_ENV% python setup.py bdist_msi"
- ps: "ls python\\dist"
- ps: "ls dist"

artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: python\dist\*
- path: dist\*

deploy_script:
- "echo [pypi] > %USERPROFILE%\\.pypirc"
- "echo username: %username% >> %USERPROFILE%\\.pypirc"
- "echo password: %password% >> %USERPROFILE%\\.pypirc"
- "%CMD_IN_ENV% pip install twine"
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true") { Invoke-Expression "%CMD_IN_ENV% twine upload --skip-existing python\dist\*" 2>$null } Else { write-output "Not on a tag on master, won't deploy to pypi"}
- cmd: "if [%APPVEYOR_REPO_TAG%]==[true] twine upload --skip-existing dist\\*.whl"
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES GNU OR CMAKE_CXX_COMPILER_ID MATCHES Clang)
endif()

# location of header files
include_directories(${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/cmd)

# static library
add_library(libqbsolv STATIC src/solver.cc src/util.cc src/dwsolv.cc)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def build_extensions(self):

setup(
name='dwave_qbsolv',
version='0.2.4.dev2',
version='0.2.4',
packages=packages,
package_dir={'dwave_qbsolv': 'python/dwave_qbsolv'},
install_requires=['dimod>=0.3.1,<0.5.0'],
Expand Down

0 comments on commit cc44ee7

Please sign in to comment.