Skip to content

Commit 149ab64

Browse files
committed
Changed to pyproject.toml file.
Changed the Python package to use a pyproject.toml file. Removed build.py, CMakeLists.txt, and conanfile.py. They can be generated with xmsconan_gen.
1 parent 039287f commit 149ab64

File tree

7 files changed

+37
-357
lines changed

7 files changed

+37
-357
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Conan Files
2+
build.py
3+
CMakeLists.txt
4+
conanfile.py
5+
16
# Misc
27
*.DS_STORE
38
*~

CMakeLists.txt

-276
This file was deleted.

_package/pyproject.toml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "xmsinterp"
7+
version = "6.1.7"
8+
description = "Interpolation library for XMS products"
9+
license = { text = "BSD 2-Clause License" }
10+
readme = "README.md"
11+
requires-python = ">=3.10"
12+
keywords = []
13+
14+
# Dependencies
15+
dependencies = [
16+
"numpy",
17+
"xmscore>=6.0.0",
18+
"xmsgrid>=7.0.0,<8.0.0"
19+
]
20+
21+
[tool.setuptools.packages.find]
22+
include = ["xms*"]
23+
24+
[tool.setuptools.package-data]
25+
# Include additional files
26+
"*" = ["*.pyd", "*.so"]
27+
28+
[tool.pytest.ini_options]
29+
python_files = ["test_*.py", "*_test.py", "*_pyt.py"]

_package/setup.py

-33
This file was deleted.

build.py

-25
This file was deleted.

build.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
library_name = "xmsinterp"
22
description = "Interpolation library for XMS products"
3-
has_test_files = true
3+
has_test_files = false
44

55
xms_dependencies = [
6-
{ name = "xmscore", version = "6.2.5-8-gfabf5914" },
7-
{ name = "xmsgrid", version = "5.5.3-56-ga088ecb" },
6+
{ name = "xmscore", version = "6.2.5-9-g8647a0cd" },
7+
{ name = "xmsgrid", version = "5.5.3-57-ge7f5a01" },
88
]
99

1010
python_namespaced_dir = "interp"

0 commit comments

Comments
 (0)