pygtide 0.8.1__tar.gz → 0.8.2__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.
Files changed (33) hide show
  1. {pygtide-0.8.1/pygtide.egg-info → pygtide-0.8.2}/PKG-INFO +4 -15
  2. {pygtide-0.8.1 → pygtide-0.8.2}/README.md +3 -14
  3. {pygtide-0.8.1 → pygtide-0.8.2}/meson.build +1 -1
  4. {pygtide-0.8.1 → pygtide-0.8.2/pygtide.egg-info}/PKG-INFO +4 -15
  5. {pygtide-0.8.1 → pygtide-0.8.2}/pyproject.toml +1 -1
  6. {pygtide-0.8.1 → pygtide-0.8.2}/setup.py +15 -15
  7. {pygtide-0.8.1 → pygtide-0.8.2}/LICENSE +0 -0
  8. {pygtide-0.8.1 → pygtide-0.8.2}/MANIFEST.in +0 -0
  9. {pygtide-0.8.1 → pygtide-0.8.2}/build_pygtide_abi.py +0 -0
  10. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/__init__.py +0 -0
  11. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/[raw]_Leap_Second_History.dat +0 -0
  12. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/[raw]_eopc04_IAU2000.dat +0 -0
  13. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/[raw]_finals2000A.dat +0 -0
  14. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/buellehw.dat +0 -0
  15. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/cted73hw.dat +0 -0
  16. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/doodsehw.dat +0 -0
  17. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/etddt.dat +0 -0
  18. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/etddt_tmpl.dat +0 -0
  19. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/etpolut1.dat +0 -0
  20. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/hw95s.dat +0 -0
  21. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/ksm03.dat +0 -0
  22. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/ratgp95.dat +0 -0
  23. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/tamurahw.dat +0 -0
  24. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/commdat/xi1989hw.dat +0 -0
  25. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/core.py +0 -0
  26. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/tests.py +0 -0
  27. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide/update_etpred_data.py +0 -0
  28. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide.egg-info/SOURCES.txt +0 -0
  29. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide.egg-info/dependency_links.txt +0 -0
  30. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide.egg-info/requires.txt +0 -0
  31. {pygtide-0.8.1 → pygtide-0.8.2}/pygtide.egg-info/top_level.txt +0 -0
  32. {pygtide-0.8.1 → pygtide-0.8.2}/setup.cfg +0 -0
  33. {pygtide-0.8.1 → pygtide-0.8.2}/src/etpred.f90 +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygtide
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: A Python module and wrapper for ETERNA PREDICT to compute gravitational tides on Earth
5
5
  Author: Tom Eulenfeld
6
6
  Author-email: "Gabriel C. Rau" <gabriel@hydrogeo.science>
@@ -49,18 +49,18 @@ There are two options:
49
49
  * Download and install [*Anaconda*](https://www.anaconda.com/products/distribution) or [*Miniconda*](https://docs.conda.io/en/latest/miniconda.html)
50
50
  * Install required packages:
51
51
  ```
52
- conda install numpy pandas requests
52
+ conda install numpy pandas
53
53
  ```
54
54
 
55
55
  ### Installation options
56
56
 
57
- #### Option 1: Install and compile source distribution from PyPi (Linux, macOS, Windows; Python 3.8–3.14)
57
+ #### Option 1: Install and compile source distribution from PyPi (Python 3.8–3.11) or install pre-compiled distribution (Linux, macOS, Windows; Python>=3.12)
58
58
 
59
59
  ```bash
60
60
  pip install pygtide
61
61
  ```
62
62
 
63
- #### Option 2: Build from source locally (Linux, macOS, Windows; Python 3.8–3.14)
63
+ #### Option 2: Build from source locally (Linux, macOS, Windows; Python>=3.8)
64
64
 
65
65
  **Requirements for building:**
66
66
  - A Fortran compiler (e.g., `gfortran` via MinGW on Windows; included in Linux/macOS gcc toolchains) `conda install gfortran`
@@ -78,17 +78,6 @@ cd /path/to/pygtide
78
78
  pip install .
79
79
  ```
80
80
 
81
- If Meson or Ninja are missing, pip will attempt to install them automatically. For faster builds, pre-install them:
82
- ```bash
83
- pip install meson-python meson ninja
84
- ```
85
-
86
- #### Option 3: Pre-built wheels (Windows, Python 3.8–3.11)
87
- Download the correct wheel for your Python version from the `windows/` subfolder and install:
88
- ```powershell
89
- pip install [wheel_name_depending_on_python_version]
90
- ```
91
-
92
81
  ### After installation
93
82
 
94
83
  * Run tests to verify installation:
@@ -19,18 +19,18 @@ There are two options:
19
19
  * Download and install [*Anaconda*](https://www.anaconda.com/products/distribution) or [*Miniconda*](https://docs.conda.io/en/latest/miniconda.html)
20
20
  * Install required packages:
21
21
  ```
22
- conda install numpy pandas requests
22
+ conda install numpy pandas
23
23
  ```
24
24
 
25
25
  ### Installation options
26
26
 
27
- #### Option 1: Install and compile source distribution from PyPi (Linux, macOS, Windows; Python 3.8–3.14)
27
+ #### Option 1: Install and compile source distribution from PyPi (Python 3.8–3.11) or install pre-compiled distribution (Linux, macOS, Windows; Python>=3.12)
28
28
 
29
29
  ```bash
30
30
  pip install pygtide
31
31
  ```
32
32
 
33
- #### Option 2: Build from source locally (Linux, macOS, Windows; Python 3.8–3.14)
33
+ #### Option 2: Build from source locally (Linux, macOS, Windows; Python>=3.8)
34
34
 
35
35
  **Requirements for building:**
36
36
  - A Fortran compiler (e.g., `gfortran` via MinGW on Windows; included in Linux/macOS gcc toolchains) `conda install gfortran`
@@ -48,17 +48,6 @@ cd /path/to/pygtide
48
48
  pip install .
49
49
  ```
50
50
 
51
- If Meson or Ninja are missing, pip will attempt to install them automatically. For faster builds, pre-install them:
52
- ```bash
53
- pip install meson-python meson ninja
54
- ```
55
-
56
- #### Option 3: Pre-built wheels (Windows, Python 3.8–3.11)
57
- Download the correct wheel for your Python version from the `windows/` subfolder and install:
58
- ```powershell
59
- pip install [wheel_name_depending_on_python_version]
60
- ```
61
-
62
51
  ### After installation
63
52
 
64
53
  * Run tests to verify installation:
@@ -1,5 +1,5 @@
1
1
  project('pygtide', 'fortran',
2
- version : '0.8.1',
2
+ version : '0.8.2',
3
3
  meson_version : '>=1.1.0',
4
4
  )
5
5
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygtide
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: A Python module and wrapper for ETERNA PREDICT to compute gravitational tides on Earth
5
5
  Author: Tom Eulenfeld
6
6
  Author-email: "Gabriel C. Rau" <gabriel@hydrogeo.science>
@@ -49,18 +49,18 @@ There are two options:
49
49
  * Download and install [*Anaconda*](https://www.anaconda.com/products/distribution) or [*Miniconda*](https://docs.conda.io/en/latest/miniconda.html)
50
50
  * Install required packages:
51
51
  ```
52
- conda install numpy pandas requests
52
+ conda install numpy pandas
53
53
  ```
54
54
 
55
55
  ### Installation options
56
56
 
57
- #### Option 1: Install and compile source distribution from PyPi (Linux, macOS, Windows; Python 3.8–3.14)
57
+ #### Option 1: Install and compile source distribution from PyPi (Python 3.8–3.11) or install pre-compiled distribution (Linux, macOS, Windows; Python>=3.12)
58
58
 
59
59
  ```bash
60
60
  pip install pygtide
61
61
  ```
62
62
 
63
- #### Option 2: Build from source locally (Linux, macOS, Windows; Python 3.8–3.14)
63
+ #### Option 2: Build from source locally (Linux, macOS, Windows; Python>=3.8)
64
64
 
65
65
  **Requirements for building:**
66
66
  - A Fortran compiler (e.g., `gfortran` via MinGW on Windows; included in Linux/macOS gcc toolchains) `conda install gfortran`
@@ -78,17 +78,6 @@ cd /path/to/pygtide
78
78
  pip install .
79
79
  ```
80
80
 
81
- If Meson or Ninja are missing, pip will attempt to install them automatically. For faster builds, pre-install them:
82
- ```bash
83
- pip install meson-python meson ninja
84
- ```
85
-
86
- #### Option 3: Pre-built wheels (Windows, Python 3.8–3.11)
87
- Download the correct wheel for your Python version from the `windows/` subfolder and install:
88
- ```powershell
89
- pip install [wheel_name_depending_on_python_version]
90
- ```
91
-
92
81
  ### After installation
93
82
 
94
83
  * Run tests to verify installation:
@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
12
12
 
13
13
  [project]
14
14
  name = "pygtide"
15
- version = "0.8.1"
15
+ version = "0.8.2"
16
16
  description = "A Python module and wrapper for ETERNA PREDICT to compute gravitational tides on Earth"
17
17
  readme = "README.md"
18
18
  license = "MPL-2.0"
@@ -2,39 +2,39 @@
2
2
  from pathlib import Path
3
3
  import sys
4
4
 
5
- from setuptools import setup, Extension
5
+ from setuptools import setup, Distribution
6
6
  from setuptools.command.build import build as _build
7
7
 
8
8
 
9
9
  class build(_build):
10
10
  def run(self):
11
11
  # Detect platform-specific ABI extension
12
- HERE = Path(__file__).resolve().parent
13
-
12
+ here = Path(__file__).resolve().parent
14
13
  ext = '.pyd' if sys.platform.startswith('win') else '.so'
15
- etpred_path = HERE / 'pygtide' / f'etpred{ext}'
16
-
14
+ etpred_path = here / 'pygtide' / f'etpred{ext}'
17
15
  if etpred_path.exists():
18
16
  print(f"Use ABI module {etpred_path}")
19
17
  else:
20
18
  print(f"Prebuilt ABI module not found: {etpred_path}\n"
21
19
  "Run build_pygtide_abi.py")
22
- sys.path.insert(0, str(HERE))
20
+ sys.path.insert(0, str(here))
23
21
  import build_pygtide_abi
22
+ # Start Meson build
24
23
  build_pygtide_abi.build()
25
24
  if not etpred_path.exists():
26
25
  raise FileNotFoundError(f"No ABI module, error in Meson build")
26
+ super().run()
27
27
 
28
28
 
29
- # Define the prebuilt extension
30
- etpred_module = Extension(
31
- name='pygtide.etpred',
32
- sources=[], # No sources; using prebuilt ABI
33
- extra_objects=[str(etpred_path)],
34
- )
35
-
36
- super().run()
29
+ # tell setuptools to build platform-dependent wheels
30
+ class BinaryDistribution(Distribution):
31
+ def has_ext_modules(self):
32
+ return True
37
33
 
38
34
 
39
35
  # Metadata pulled from pyproject.toml
40
- setup(cmdclass={'build': build})
36
+ setup(
37
+ distclass=BinaryDistribution,
38
+ cmdclass={'build': build}
39
+ )
40
+
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes