Skip to content

Commit

Permalink
Merge pull request #7 from maresb/windows
Browse files Browse the repository at this point in the history
Enable Windows builds
  • Loading branch information
maresb authored Jun 14, 2024
2 parents 0a9fe33 + 6b98174 commit 9fef839
Show file tree
Hide file tree
Showing 11 changed files with 356 additions and 3 deletions.
67 changes: 67 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.

18 changes: 18 additions & 0 deletions .ci_support/win_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
rust_compiler:
- rust
target_platform:
- win-64
18 changes: 18 additions & 0 deletions .ci_support/win_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.11.* *_cpython
rust_compiler:
- rust
target_platform:
- win-64
18 changes: 18 additions & 0 deletions .ci_support/win_64_python3.12.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.12.* *_cpython
rust_compiler:
- rust
target_platform:
- win-64
18 changes: 18 additions & 0 deletions .ci_support/win_64_python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.8.* *_cpython
rust_compiler:
- rust
target_platform:
- win-64
18 changes: 18 additions & 0 deletions .ci_support/win_64_python3.9.____73_pypy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.9.* *_73_pypy
rust_compiler:
- rust
target_platform:
- win-64
18 changes: 18 additions & 0 deletions .ci_support/win_64_python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.9.* *_cpython
rust_compiler:
- rust
target_platform:
- win-64
130 changes: 130 additions & 0 deletions .scripts/run_win_build.bat

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

42 changes: 42 additions & 0 deletions README.md

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

3 changes: 2 additions & 1 deletion azure-pipelines.yml

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

9 changes: 7 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@ source:

build:
# We have to skip Windows due to <https://github.com/conda-forge/staged-recipes/pull/26614#issuecomment-2156602195>
skip: true # [py<38 or win]
skip: true # [py<38]
entry_points:
- deptry = deptry.cli:deptry
# Setting CARGO_HOME is a workaround for "path too long" error on
# Windows due to the 260 character limit for paths, and because the
# ruff repo (which is a dependency) has some files with very long names.

script: |
set "CARGO_HOME=C:\cargo"
echo "building..."
{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
cargo-bundle-licenses --format yaml --output THIRDPARTY.yml
number: 1
number: 2

requirements:
build:
Expand Down

0 comments on commit 9fef839

Please sign in to comment.