Skip to content

Commit 977f00e

Browse files
Merge pull request #18 from miguelcarcamov/development
Development
2 parents 0c872bd + 0ed1d4b commit 977f00e

9 files changed

Lines changed: 57 additions & 121 deletions

File tree

.github/workflows/build.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ jobs:
4545
python3 -m pip install build
4646
- name: Build package
4747
run: python3 -m build
48-
- name: Build bdist package
49-
run: python3 setup.py bdist_wheel
5048
- name: Install snow
5149
run: pip install dist/*.tar.gz
5250
- name: Upload artifacts

.github/workflows/build_base_container.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66
- feature/refactoring
77
- development
88
paths:
9+
- .github/build_base_container.yaml
910
- Dockerfile
1011
pull_request:
1112
branches:
1213
- master
13-
paths:
14-
- Dockerfile
14+
1515
env:
1616
REGISTRY: ghcr.io
1717

.github/workflows/build_latest_container.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [master]
66
paths:
77
- '**.py'
8+
- .github/build_latest_container.yaml
89
- Dockerfile.prod
910
release:
1011
types: [published]
@@ -49,8 +50,6 @@ jobs:
4950
python3 -m pip install build
5051
- name: Build package
5152
run: python3 -m build
52-
- name: Build bdist package
53-
run: python3 setup.py bdist_wheel
5453
- name: Install snow
5554
run: pip install dist/*.tar.gz
5655
- name: Upload artifacts

Dockerfile.prod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ RUN pip3 --version
55
RUN echo "Installing snow"
66
RUN pip3 install git+https://github.com/miguelcarcamov/snow.git
77
RUN echo "Hello from snow production image"
8+
RUN mkdir -p ~/.casa/data
89
LABEL org.opencontainers.image.source="https://github.com/miguelcarcamov/snow"
910
LABEL org.opencontainers.image.description="Container image for SNOW"
1011
LABEL org.opencontainers.image.licenses=GPL3

config.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

environment.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
name: snow-env
22
dependencies:
3-
- python=3.10
4-
- numpy=1.24
3+
- python>=3.10,<3.11
4+
- numpy=1.26
55
- matplotlib
66
- mpi4py
77
- anaconda
88
- pip
99
- pip:
10+
- almatasks==0.0.0.3
1011
- astropy==6.1.0
11-
- casadata==2024.1.15
12-
- casafeather==0.0.20
13-
- casalogger==1.0.17
14-
- casampi==0.5.4
15-
- casaplotms==2.3.4
16-
- casaplotserver==1.7.1
17-
- casashell==6.6.3.22
18-
- casatablebrowser==0.0.33
19-
- casatasks==6.6.3.22
20-
- casatestutils==6.6.3.22
21-
- casatools==6.6.3.22
22-
- casaviewer==2.0.1
23-
- numpy==1.24.3
12+
- casafeather==0.0.22
13+
- casalogger==1.0.19
14+
- casampi==0.5.5
15+
- casaplotms==2.4.3
16+
- casaplotserver==1.8.2
17+
- casashell==6.6.4.34
18+
- casatablebrowser==0.0.35
19+
- casatasks==6.6.4.34
20+
- casatestutils==6.6.4.34
21+
- casatools==6.6.4.34
22+
- casaviewer==2.1.4
2423
- python-casacore==3.5.2
25-
- reproject==0.11.0
26-
- scipy==1.11.4
24+
- reproject==0.13.1
25+
- scipy==1.13.1

pyproject.toml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
3-
requires = ["setuptools>=65.5.0", "setuptools-scm", "wheel"]
3+
requires = ["setuptools>=70.0.0", "setuptools-scm", "wheel"]
44

55
[project]
66
authors = [
@@ -10,15 +10,34 @@ classifiers = [
1010
"Programming Language :: Python :: 3",
1111
"Operating System :: OS Independent"
1212
]
13+
dependencies = [
14+
"almatasks==0.0.0.3",
15+
"astropy==6.1.0",
16+
"casafeather==0.0.22",
17+
"casalogger==1.0.19",
18+
"casampi==0.5.5",
19+
"casaplotms==2.4.3",
20+
"casaplotserver==1.8.2",
21+
"casashell==6.6.4.34",
22+
"casatablebrowser==0.0.35",
23+
"casatasks==6.6.4.34",
24+
"casatestutils==6.6.4.34",
25+
"casatools==6.6.4.34",
26+
"casaviewer==2.1.4",
27+
"numpy==1.26.0",
28+
"python-casacore==3.5.2",
29+
"reproject==0.11.0",
30+
"scipy==1.11.4"
31+
]
1332
description = "A Python object oriented framework to do radio-interferometric self-calibration"
14-
dynamic = ["version", "dependencies"]
15-
license = {text = "GNU GPL"}
33+
dynamic = ["version"]
34+
license = {file = "LICENSE"}
1635
maintainers = [
1736
{name = "Miguel Cárcamo", email = "miguel.carcamo@manchester.ac.uk"}
1837
]
1938
name = "snow"
2039
readme = "README.md"
21-
requires-python = ">=3.10, <=3.11"
40+
requires-python = ">=3.10, <3.11"
2241

2342
[project.urls]
2443
Source = "https://github.com/miguelcarcamov/snow"
@@ -29,4 +48,5 @@ namespaces = false
2948
where = ["src"]
3049

3150
[tool.setuptools_scm]
51+
local_scheme = "no-local-version"
3252
write_to = "src/snow/_version.py"

requirements.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1+
almatasks==0.0.0.3
12
astropy==6.1.0
2-
casadata==2024.1.15
3-
casafeather==0.0.20
4-
casalogger==1.0.17
5-
casampi==0.5.4
6-
casaplotms==2.3.4
7-
casaplotserver==1.7.1
8-
casashell==6.6.3.22
9-
casatablebrowser==0.0.33
10-
casatasks==6.6.3.22
11-
casatestutils==6.6.3.22
12-
casatools==6.6.3.22
13-
casaviewer==2.0.1
14-
numpy==1.24.3
3+
casafeather==0.0.22
4+
casalogger==1.0.19
5+
casampi==0.5.5
6+
casaplotms==2.4.3
7+
casaplotserver==1.8.2
8+
casashell==6.6.4.34
9+
casatablebrowser==0.0.35
10+
casatasks==6.6.4.34
11+
casatestutils==6.6.4.34
12+
casatools==6.6.4.34
13+
casaviewer==2.1.4
14+
numpy==1.26.0
1515
python-casacore==3.5.2
1616
reproject==0.11.0
1717
scipy==1.11.4

setup.py

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)