Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows #26

Merged
merged 4 commits into from
Oct 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions .ci_support/README

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions .ci_support/win_64_numpy1.20python3.7.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
boost:
- 1.78.0
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- vs2019
numpy:
- '1.20'
pin_run_as_build:
boost:
max_pin: x.x.x
python:
min_pin: x.x
max_pin: x.x
python:
- 3.7.* *_cpython
target_platform:
- win-64
zip_keys:
- - python
- numpy
23 changes: 23 additions & 0 deletions .ci_support/win_64_numpy1.20python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
boost:
- 1.78.0
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- vs2019
numpy:
- '1.20'
pin_run_as_build:
boost:
max_pin: x.x.x
python:
min_pin: x.x
max_pin: x.x
python:
- 3.8.* *_cpython
target_platform:
- win-64
zip_keys:
- - python
- numpy
23 changes: 23 additions & 0 deletions .ci_support/win_64_numpy1.20python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
boost:
- 1.78.0
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- vs2019
numpy:
- '1.20'
pin_run_as_build:
boost:
max_pin: x.x.x
python:
min_pin: x.x
max_pin: x.x
python:
- 3.9.* *_cpython
target_platform:
- win-64
zip_keys:
- - python
- numpy
23 changes: 23 additions & 0 deletions .ci_support/win_64_numpy1.21python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
boost:
- 1.78.0
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- vs2019
numpy:
- '1.21'
pin_run_as_build:
boost:
max_pin: x.x.x
python:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
target_platform:
- win-64
zip_keys:
- - python
- numpy
30 changes: 29 additions & 1 deletion README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions azure-pipelines.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
c_compiler: # [win]
- vs2019 # [win]
cxx_compiler: # [win]
- vs2019 # [win]
11 changes: 5 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set name = "pyobjcryst" %}
{% set version = "2.2.2" %}
{% set sha256 = "f04bbd412ee0b9d3c8f2cccdfabe157ec703bc21f9fcb2b820caf3777d660ca8" %}
{% set version = "2.2.3" %}
{% set sha256 = "e156b47a0ba0dfc0bd9592a121b4849c2674da530705235c88e6cbc16e539c2e" %}

package:
name: {{ name|lower }}
Expand All @@ -12,8 +12,7 @@ source:
sha256: {{ sha256 }}

build:
number: 1
skip: true # [win]
number: 0
script: {{ PYTHON }} -m pip install . --no-deps -vv

requirements:
Expand All @@ -27,7 +26,7 @@ requirements:
- pip
- setuptools
- numpy
- libobjcryst 2021.1.2
- libobjcryst 2022.1.2
- boost
run:
# NOTE libobjcryst is implicitly added by libobjcryst run_exports
Expand All @@ -47,7 +46,7 @@ about:
license_family: BSD
license_file: LICENSE.txt
summary: Python bindings to the ObjCryst++ crystallographic library.
doc_url: http://diffpy.github.io/pyobjcryst
doc_url: https://pyobjcryst.readthedocs.io/
dev_url: https://github.com/diffpy/pyobjcryst

extra:
Expand Down