Skip to content

Commit

Permalink
CHG: updating pre-commit config file project, environments and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcarcamov committed Jun 18, 2024
1 parent 19d872a commit 35f8d98
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 116 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build_latest_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,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
20 changes: 0 additions & 20 deletions config.py

This file was deleted.

31 changes: 15 additions & 16 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
- 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 = "[email protected]"}
]
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.

0 comments on commit 35f8d98

Please sign in to comment.