pyobs-sbig 2.0.0.dev6__tar.gz → 2.0.0.dev7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyobs_sbig-2.0.0.dev7/.github/dependabot.yml +10 -0
- pyobs_sbig-2.0.0.dev7/.github/workflows/pypi.yml +65 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/CMakeLists.txt +8 -7
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/PKG-INFO +4 -4
- pyobs_sbig-2.0.0.dev7/lib/libsbigudrv.so +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/pyproject.toml +14 -5
- pyobs_sbig-2.0.0.dev7/uv.lock +3124 -0
- pyobs_sbig-2.0.0.dev6/.github/workflows/pypi.yml +0 -26
- pyobs_sbig-2.0.0.dev6/uv.lock +0 -2952
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/.github/workflows/ruff.yml +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/.pre-commit-config.yaml +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/.readthedocs.yml +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/CHANGELOG.rst +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/LICENSE +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/README.md +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/docs/Makefile +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/docs/make.bat +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/docs/requirements.txt +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/docs/source/_static/pyobs.gif +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/docs/source/conf.py +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/docs/source/index.rst +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/pyobs_sbig/__init__.py +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/pyobs_sbig/gui.py +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/pyobs_sbig/sbig6303e.py +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/pyobs_sbig/sbigcamera.py +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/pyobs_sbig/sbigfiltercamera.py +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/pyobs_sbig/sbigudrv.pxd +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/pyobs_sbig/sbigudrv.pyx +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/sbigudrv/csbigcam.cpp +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/sbigudrv/csbigcam.h +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/sbigudrv/csbigimg.cpp +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/sbigudrv/csbigimg.h +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/sbigudrv/lpardrv.h +0 -0
- {pyobs_sbig-2.0.0.dev6 → pyobs_sbig-2.0.0.dev7}/src/sbigudrv/sbigudrv.h +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
name: Publish package to PyPI
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
tags:
|
|
5
|
+
- 'v*'
|
|
6
|
+
jobs:
|
|
7
|
+
build-wheels:
|
|
8
|
+
name: Build wheels
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- name: Check out repository code
|
|
12
|
+
uses: actions/checkout@v4
|
|
13
|
+
|
|
14
|
+
- name: Build wheels
|
|
15
|
+
uses: pypa/cibuildwheel@v4.2.0
|
|
16
|
+
|
|
17
|
+
- name: Upload wheels
|
|
18
|
+
uses: actions/upload-artifact@v4
|
|
19
|
+
with:
|
|
20
|
+
name: wheels
|
|
21
|
+
path: wheelhouse/*.whl
|
|
22
|
+
|
|
23
|
+
build-sdist:
|
|
24
|
+
name: Build sdist
|
|
25
|
+
runs-on: ubuntu-latest
|
|
26
|
+
steps:
|
|
27
|
+
- name: Check out repository code
|
|
28
|
+
uses: actions/checkout@v4
|
|
29
|
+
|
|
30
|
+
- name: Set up Python
|
|
31
|
+
uses: astral-sh/setup-uv@v5
|
|
32
|
+
with:
|
|
33
|
+
enable-cache: true
|
|
34
|
+
python-version: "3.13"
|
|
35
|
+
|
|
36
|
+
- name: Build sdist
|
|
37
|
+
run: uv build --sdist
|
|
38
|
+
|
|
39
|
+
- name: Upload sdist
|
|
40
|
+
uses: actions/upload-artifact@v4
|
|
41
|
+
with:
|
|
42
|
+
name: sdist
|
|
43
|
+
path: dist/*.tar.gz
|
|
44
|
+
|
|
45
|
+
publish:
|
|
46
|
+
name: Publish to PyPI
|
|
47
|
+
needs: [build-wheels, build-sdist]
|
|
48
|
+
runs-on: ubuntu-latest
|
|
49
|
+
steps:
|
|
50
|
+
- name: Download artifacts
|
|
51
|
+
uses: actions/download-artifact@v4
|
|
52
|
+
with:
|
|
53
|
+
path: dist
|
|
54
|
+
merge-multiple: true
|
|
55
|
+
|
|
56
|
+
- name: Set up Python
|
|
57
|
+
uses: astral-sh/setup-uv@v5
|
|
58
|
+
with:
|
|
59
|
+
enable-cache: false
|
|
60
|
+
python-version: "3.13"
|
|
61
|
+
|
|
62
|
+
- name: Publish
|
|
63
|
+
env:
|
|
64
|
+
PYPI_TOKEN: ${{ secrets.pypi_password }}
|
|
65
|
+
run: uv publish --token $PYPI_TOKEN dist/*
|
|
@@ -57,24 +57,25 @@ set_target_properties(sbigudrv PROPERTIES
|
|
|
57
57
|
OUTPUT_NAME "sbigudrv"
|
|
58
58
|
SUFFIX "${PY_EXT_SUFFIX}"
|
|
59
59
|
POSITION_INDEPENDENT_CODE ON
|
|
60
|
+
INSTALL_RPATH "$ORIGIN"
|
|
61
|
+
BUILD_WITH_INSTALL_RPATH ON
|
|
60
62
|
)
|
|
61
63
|
message(STATUS "ext: ${PY_EXT_SUFFIX}")
|
|
62
64
|
|
|
63
|
-
# --- sbigudrv ---
|
|
64
|
-
target_include_directories(sbigudrv PRIVATE
|
|
65
|
-
${CMAKE_CURRENT_SOURCE_DIR}/lib/usr/local/include/
|
|
66
|
-
)
|
|
67
|
-
|
|
68
65
|
# --- Link ---
|
|
69
66
|
find_library(CFITSIO_LIB cfitsio REQUIRED)
|
|
70
|
-
find_path(CFITSIO_INCLUDE_DIR fitsio.h REQUIRED)
|
|
67
|
+
find_path(CFITSIO_INCLUDE_DIR NAMES fitsio.h PATH_SUFFIXES cfitsio REQUIRED)
|
|
71
68
|
target_include_directories(sbigudrv PRIVATE ${CFITSIO_INCLUDE_DIR})
|
|
72
69
|
target_link_libraries(sbigudrv PRIVATE ${CFITSIO_LIB})
|
|
73
70
|
|
|
74
|
-
|
|
71
|
+
# --- Bundled SBIG Universal Driver (pre-compiled, shipped in lib/) ---
|
|
72
|
+
set(SBIGUDRV_LIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/libsbigudrv.so")
|
|
75
73
|
target_link_libraries(sbigudrv PRIVATE ${SBIGUDRV_LIB})
|
|
76
74
|
|
|
77
75
|
# --- Install into package ---
|
|
78
76
|
install(TARGETS sbigudrv
|
|
79
77
|
LIBRARY DESTINATION ${SKBUILD_PROJECT_NAME}
|
|
80
78
|
)
|
|
79
|
+
install(FILES ${SBIGUDRV_LIB}
|
|
80
|
+
DESTINATION ${SKBUILD_PROJECT_NAME}
|
|
81
|
+
)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobs-sbig
|
|
3
|
-
Version: 2.0.0.
|
|
3
|
+
Version: 2.0.0.dev7
|
|
4
4
|
Summary: pyobs module for SBIG cameras
|
|
5
5
|
Author-Email: Tim-Oliver Husser <thusser@uni-goettingen.de>
|
|
6
6
|
License-Expression: MIT
|
|
7
|
-
Requires-Python:
|
|
7
|
+
Requires-Python: >=3.11
|
|
8
8
|
Requires-Dist: astropy<8,>=7.0.1
|
|
9
9
|
Requires-Dist: numpy<3,>=2.2.5
|
|
10
|
-
Requires-Dist: pyobs-core<3,>=2.0.0.
|
|
10
|
+
Requires-Dist: pyobs-core<3,>=2.0.0.dev48
|
|
11
11
|
Provides-Extra: gui
|
|
12
|
-
Requires-Dist: pyobs-core[gui]<3,>=2.0.0.
|
|
12
|
+
Requires-Dist: pyobs-core[gui]<3,>=2.0.0.dev48; extra == "gui"
|
|
13
13
|
Requires-Dist: qasync>=0.28.0; extra == "gui"
|
|
14
14
|
|
|
Binary file
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyobs-sbig"
|
|
3
|
-
version = "2.0.0.
|
|
3
|
+
version = "2.0.0.dev7"
|
|
4
4
|
description = "pyobs module for SBIG cameras"
|
|
5
5
|
authors = [{ name = "Tim-Oliver Husser", email = "thusser@uni-goettingen.de" }]
|
|
6
|
-
requires-python = ">=3.11
|
|
6
|
+
requires-python = ">=3.11"
|
|
7
7
|
license = "MIT"
|
|
8
8
|
dependencies = [
|
|
9
9
|
"astropy>=7.0.1,<8",
|
|
10
10
|
"numpy>=2.2.5,<3",
|
|
11
|
-
"pyobs-core>=2.0.0.
|
|
11
|
+
"pyobs-core>=2.0.0.dev48,<3",
|
|
12
12
|
]
|
|
13
13
|
|
|
14
14
|
[project.optional-dependencies]
|
|
15
15
|
gui = [
|
|
16
|
-
"pyobs-core[gui]>=2.0.0.
|
|
16
|
+
"pyobs-core[gui]>=2.0.0.dev48,<3",
|
|
17
17
|
"qasync>=0.28.0",
|
|
18
18
|
]
|
|
19
19
|
|
|
20
20
|
[dependency-groups]
|
|
21
21
|
dev = [
|
|
22
|
-
"black>=25.1.0,<
|
|
22
|
+
"black>=25.1.0,<27",
|
|
23
23
|
"ruff>=0.9.0",
|
|
24
24
|
"pyrefly>=1.1.1",
|
|
25
25
|
"pre-commit>=4.2.0,<5",
|
|
@@ -35,6 +35,15 @@ py-modules = []
|
|
|
35
35
|
[tool.scikit-build]
|
|
36
36
|
wheel.packages = ["src/pyobs_sbig"]
|
|
37
37
|
|
|
38
|
+
[tool.cibuildwheel]
|
|
39
|
+
build = "cp311-* cp312-* cp313-* cp314-*"
|
|
40
|
+
skip = "*-musllinux_* *-manylinux_i686"
|
|
41
|
+
archs = ["x86_64"]
|
|
42
|
+
|
|
43
|
+
[tool.cibuildwheel.linux]
|
|
44
|
+
manylinux-x86_64-image = "manylinux_2_28"
|
|
45
|
+
before-all = "dnf install -y epel-release && dnf install -y cfitsio-devel libusbx-devel systemd-devel"
|
|
46
|
+
|
|
38
47
|
[build-system]
|
|
39
48
|
requires = ["scikit_build_core>=0.12", "cython>=3.0", "cython-cmake", "numpy>=2.0"]
|
|
40
49
|
build-backend = "scikit_build_core.build"
|