Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development #18

Merged
merged 8 commits into from
Jun 24, 2024
Merged
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
2 changes: 0 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ jobs:
python3 -m pip install build
- name: Build package
run: python3 -m build
- name: Build bdist package
run: python3 setup.py bdist_wheel
- name: Install snow
run: pip install dist/*.tar.gz
- name: Upload artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_base_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- feature/refactoring
- development
paths:
- .github/build_base_container.yaml
- Dockerfile
pull_request:
branches:
- master
paths:
- Dockerfile

env:
REGISTRY: ghcr.io

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build_latest_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [master]
paths:
- '**.py'
- .github/build_latest_container.yaml
- Dockerfile.prod
release:
types: [published]
Expand Down Expand Up @@ -49,8 +50,6 @@ jobs:
python3 -m pip install build
- name: Build package
run: python3 -m build
- name: Build bdist package
run: python3 setup.py bdist_wheel
- name: Install snow
run: pip install dist/*.tar.gz
- name: Upload artifacts
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ RUN pip3 --version
RUN echo "Installing snow"
RUN pip3 install git+https://github.com/miguelcarcamov/snow.git
RUN echo "Hello from snow production image"
RUN mkdir -p ~/.casa/data
LABEL org.opencontainers.image.source="https://github.com/miguelcarcamov/snow"
LABEL org.opencontainers.image.description="Container image for SNOW"
LABEL org.opencontainers.image.licenses=GPL3
20 changes: 0 additions & 20 deletions config.py

This file was deleted.

33 changes: 16 additions & 17 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
name: snow-env
dependencies:
- python=3.10
- numpy=1.24
- python>=3.10,<3.11
- numpy=1.26
- matplotlib
- mpi4py
- anaconda
- pip
- pip:
- almatasks==0.0.0.3
- astropy==6.1.0
- casadata==2024.1.15
- casafeather==0.0.20
- casalogger==1.0.17
- casampi==0.5.4
- casaplotms==2.3.4
- casaplotserver==1.7.1
- casashell==6.6.3.22
- casatablebrowser==0.0.33
- casatasks==6.6.3.22
- casatestutils==6.6.3.22
- casatools==6.6.3.22
- casaviewer==2.0.1
- numpy==1.24.3
- casafeather==0.0.22
- casalogger==1.0.19
- casampi==0.5.5
- casaplotms==2.4.3
- casaplotserver==1.8.2
- casashell==6.6.4.34
- casatablebrowser==0.0.35
- casatasks==6.6.4.34
- casatestutils==6.6.4.34
- casatools==6.6.4.34
- casaviewer==2.1.4
- python-casacore==3.5.2
- reproject==0.11.0
- scipy==1.11.4
- reproject==0.13.1
- scipy==1.13.1
28 changes: 24 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=65.5.0", "setuptools-scm", "wheel"]
requires = ["setuptools>=70.0.0", "setuptools-scm", "wheel"]

[project]
authors = [
Expand All @@ -10,15 +10,34 @@ classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent"
]
dependencies = [
"almatasks==0.0.0.3",
"astropy==6.1.0",
"casafeather==0.0.22",
"casalogger==1.0.19",
"casampi==0.5.5",
"casaplotms==2.4.3",
"casaplotserver==1.8.2",
"casashell==6.6.4.34",
"casatablebrowser==0.0.35",
"casatasks==6.6.4.34",
"casatestutils==6.6.4.34",
"casatools==6.6.4.34",
"casaviewer==2.1.4",
"numpy==1.26.0",
"python-casacore==3.5.2",
"reproject==0.11.0",
"scipy==1.11.4"
]
description = "A Python object oriented framework to do radio-interferometric self-calibration"
dynamic = ["version", "dependencies"]
license = {text = "GNU GPL"}
dynamic = ["version"]
license = {file = "LICENSE"}
maintainers = [
{name = "Miguel Cárcamo", email = "miguel.carcamo@manchester.ac.uk"}
]
name = "snow"
readme = "README.md"
requires-python = ">=3.10, <=3.11"
requires-python = ">=3.10, <3.11"

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

[tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "src/snow/_version.py"
26 changes: 13 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
almatasks==0.0.0.3
astropy==6.1.0
casadata==2024.1.15
casafeather==0.0.20
casalogger==1.0.17
casampi==0.5.4
casaplotms==2.3.4
casaplotserver==1.7.1
casashell==6.6.3.22
casatablebrowser==0.0.33
casatasks==6.6.3.22
casatestutils==6.6.3.22
casatools==6.6.3.22
casaviewer==2.0.1
numpy==1.24.3
casafeather==0.0.22
casalogger==1.0.19
casampi==0.5.5
casaplotms==2.4.3
casaplotserver==1.8.2
casashell==6.6.4.34
casatablebrowser==0.0.35
casatasks==6.6.4.34
casatestutils==6.6.4.34
casatools==6.6.4.34
casaviewer==2.1.4
numpy==1.26.0
python-casacore==3.5.2
reproject==0.11.0
scipy==1.11.4
61 changes: 0 additions & 61 deletions setup.py

This file was deleted.

Loading