Skip to content
Open
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
35 changes: 35 additions & 0 deletions WHEELS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Wheel Update Reference

Two wheels are hosted on Nextcloud and installed via `pip install -r requirements.txt`:

| Wheel | Type | Source |
|---|---|---|
| `heeps-X.Y.Z-py3-none-any.whl` | pure Python | this repo |
| `pyproper3-X.Y.Z-cpABC-cpABC-linux_x86_64.whl` | C extensions (platform-specific) | SourceForge zip |

---

## Update the HEEPS wheel

```bash
# 1. Bump version in heeps/__init__.py and pyproject.toml
# 2. Rebuild
python -m build --wheel --outdir ~/wheels/ /home/gorban/github/HEEPS
# 3. Upload ~/wheels/heeps-X.Y.Z-py3-none-any.whl to Nextcloud
# 4. Update the heeps line in requirements.txt with the new share URL
```

## Update the PyPROPER wheel

```bash
# 1. Download new zip from https://sourceforge.net/projects/proper-library/files/
# 2. Extract and build
unzip proper_vX.Y.Z_python.zip -d /tmp/proper_build
cd /tmp/proper_build/proper_vX.Y.Z_python
python -m build --wheel --outdir ~/wheels/
# 3. Upload ~/wheels/pyproper3-X.Y.Z-*.whl to Nextcloud
# 4. Update the pyproper line in requirements.txt with the new share URL
```

> **Note:** The PyPROPER wheel is tied to a specific Python version and Linux architecture
> (e.g. `cp312-cp312-linux_x86_64`). Rebuild on each target platform if needed.
2 changes: 1 addition & 1 deletion heeps/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import (absolute_import)

__version__ = "1.0.0"
__version__ = "1.1.0"

from . import config
from . import wavefront
Expand Down
1 change: 1 addition & 0 deletions heeps/util/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from __future__ import absolute_import
30 changes: 30 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "heeps"
version = "1.1.0"
description = "High-contrast End-to-End Performance Simulator for the ELT"
requires-python = ">=3.12"
dependencies = [
"numpy",
"astropy",
"scipy",
"matplotlib",
"pandas",
"ipywidgets",
"requests",
"beautifulsoup4",
"packaging",
"scikit-image",
"ipython",
"vip_hci",
]

[tool.setuptools.packages.find]
where = ["."]
include = ["heeps*"]

[tool.setuptools.package-data]
"heeps" = ["**/*"]
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# requirements.txt
https://dox.uliege.be/s/4p94sAmtQbSELSG/download/heeps-1.1.0-py3-none-any.whl # heeps wheel
https://dox.uliege.be/s/HJK44BRNex62iaf/download/pyproper3-3.3.3-cp312-cp312-linux_x86_64.whl # pyproper wheel