Skip to content

Commit

Permalink
remove setup.cfg files, other packaging cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Dec 18, 2024
1 parent b3ce774 commit f9ffb6f
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 118 deletions.
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ repos:
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx|rs)$|
CMakeLists[.]txt$|
CMakeLists_standalone[.]txt$|
meta[.]yaml$|
setup[.]cfg$
meta[.]yaml$
exclude: |
(?x)
docs/source/sphinxext/github_link\.py|
Expand Down
40 changes: 20 additions & 20 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,39 @@ files:
arch: [x86_64, aarch64]
includes:
- build
- rapids_build
- build_py_cuvs
- build_wheels
- checks
- cuda
- cuda_version
- depends_on_pylibraft
- depends_on_cupy
- depends_on_librmm
- depends_on_pylibraft
- develop
- checks
- build_wheels
- test_libcuvs
- docs
- rapids_build
- run_py_cuvs
- rust
- test_libcuvs
- test_python_common
- test_py_cuvs
- cupy
- rust
bench_ann:
output: conda
matrix:
cuda: ["11.8", "12.5"]
arch: [x86_64, aarch64]
includes:
- rapids_build
- bench
- bench_python
- build_py_cuvs
- cuda
- cuda_version
- depends_on_cupy
- depends_on_pylibraft
- depends_on_librmm
- develop
- bench
- bench_python
- rapids_build
- rapids_build_setuptools
- cupy
test_cpp:
output: none
includes:
Expand All @@ -49,10 +49,10 @@ files:
output: none
includes:
- cuda_version
- depends_on_cupy
- py_version
- test_python_common
- test_py_cuvs
- cupy
checks:
output: none
includes:
Expand All @@ -61,19 +61,19 @@ files:
docs:
output: none
includes:
- cuda
- cuda_version
- cupy
- depends_on_cupy
- docs
- py_version
- rust
- rapids_build
- cuda
- rust
rust:
output: none
includes:
- cuda
- cuda_version
- rapids_build
- cuda
- rust
py_build_cuvs:
output: pyproject
Expand All @@ -89,27 +89,27 @@ files:
table: tool.rapids-build-backend
key: requires
includes:
- rapids_build
- build_py_cuvs
- rapids_build
py_run_cuvs:
output: pyproject
pyproject_dir: python/cuvs
extras:
table: project
includes:
- cuda_wheels
- run_py_cuvs
- depends_on_pylibraft
- run_py_cuvs
py_test_cuvs:
output: pyproject
pyproject_dir: python/cuvs
extras:
table: project.optional-dependencies
key: test
includes:
- depends_on_cupy
- test_python_common
- test_py_cuvs
- cupy
py_build_cuvs_bench:
output: pyproject
pyproject_dir: python/cuvs_bench
Expand Down Expand Up @@ -368,7 +368,7 @@ dependencies:
- nvidia-cusolver
- nvidia-cusparse

cupy:
depends_on_cupy:
common:
- output_types: conda
packages:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ force-exclude = '''
# unlike the match option above this match-dir will have no effect when
# pydocstyle is invoked from pre-commit. Therefore this exclusion list must
# also be maintained in the pre-commit config file.
match-dir = "^(?!(ci|cpp|conda|docs)).*$"
match-dir = "^(?!(ci|cpp|conda|docs|notebooks)).*$"
select = "D201, D204, D206, D207, D208, D209, D210, D211, D214, D215, D300, D301, D302, D403, D405, D406, D407, D408, D409, D410, D411, D412, D414, D418"
# Would like to enable the following rules in the future:
# D200, D202, D205, D400
Expand All @@ -42,6 +42,6 @@ follow_imports = "skip"
skip = "./.git,./.github,./cpp/build,.*egg-info.*,./.mypy_cache,.*_skbuild"
# ignore short words, and typename parameters like OffsetT
ignore-regex = "\\b(.{1,4}|[A-Z]\\w*T)\\b"
ignore-words-list = "inout,numer"
ignore-words-list = "inout,unparseable,numer"
builtin = "clear"
quiet-level = 3
39 changes: 0 additions & 39 deletions python/cuvs/setup.cfg

This file was deleted.

55 changes: 0 additions & 55 deletions setup.cfg

This file was deleted.

0 comments on commit f9ffb6f

Please sign in to comment.