fargopy 0.3.1__tar.gz → 0.3.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fargopy
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: FARGO3D Wrapping
5
5
  Home-page: https://pypi.org/project/fargopy
6
6
  Author: Jorge Zuluaga, Matias Montesinos
@@ -43,7 +43,20 @@ $ pip install fargopy
43
43
  ```
44
44
  as usual this command will install all dependencies (excluding `FARGO3D` which must be installed indepently as explained before) and download some useful data, scripts and constants.
45
45
 
46
- Since `FARGOpy` is a python wrap for `FARGO3D` the ideal environment to work with the package is `IPython`/`Jupyter`. It works really fine in `Google Colab` ensuing training and demonstration purposes.
46
+
47
+
48
+ Since `FARGOpy` is a python wrap for `FARGO3D` the ideal environment to work with the package is `IPython`/`Jupyter`. It works really fine in `Google Colab` ensuing training and demonstration purposes. This README, for instance, can be ran in `Google Colab`
49
+
50
+ <a target="_blank" href="https://colab.research.google.com/github/seap-udea/fargopy/blob/main/README.ipynb">
51
+ <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
52
+ </a>
53
+
54
+ If you are running in colab use:
55
+
56
+
57
+ ```python
58
+ #!pip install fargopy
59
+ ```
47
60
 
48
61
  If you are working in `Jupyter` or in `Google Colab`, the configuration directory and its content will be crated the first time you import the package:
49
62
 
@@ -56,7 +69,8 @@ import fargopy as fp
56
69
  %autoreload 2
57
70
  ```
58
71
 
59
- Running FARGOpy version 0.3.0
72
+ Configuring FARGOpy for the first time
73
+ Running FARGOpy version 0.3.1
60
74
 
61
75
 
62
76
  If you are working on a remote Linux server, it is better to run the package using `IPython`. For this purpose, after installation, `FARGOpy` provides a special initialization command:
@@ -20,7 +20,20 @@ $ pip install fargopy
20
20
  ```
21
21
  as usual this command will install all dependencies (excluding `FARGO3D` which must be installed indepently as explained before) and download some useful data, scripts and constants.
22
22
 
23
- Since `FARGOpy` is a python wrap for `FARGO3D` the ideal environment to work with the package is `IPython`/`Jupyter`. It works really fine in `Google Colab` ensuing training and demonstration purposes.
23
+
24
+
25
+ Since `FARGOpy` is a python wrap for `FARGO3D` the ideal environment to work with the package is `IPython`/`Jupyter`. It works really fine in `Google Colab` ensuing training and demonstration purposes. This README, for instance, can be ran in `Google Colab`
26
+
27
+ <a target="_blank" href="https://colab.research.google.com/github/seap-udea/fargopy/blob/main/README.ipynb">
28
+ <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
29
+ </a>
30
+
31
+ If you are running in colab use:
32
+
33
+
34
+ ```python
35
+ #!pip install fargopy
36
+ ```
24
37
 
25
38
  If you are working in `Jupyter` or in `Google Colab`, the configuration directory and its content will be crated the first time you import the package:
26
39
 
@@ -33,7 +46,8 @@ import fargopy as fp
33
46
  %autoreload 2
34
47
  ```
35
48
 
36
- Running FARGOpy version 0.3.0
49
+ Configuring FARGOpy for the first time
50
+ Running FARGOpy version 0.3.1
37
51
 
38
52
 
39
53
  If you are working on a remote Linux server, it is better to run the package using `IPython`. For this purpose, after installation, `FARGOpy` provides a special initialization command:
@@ -204,8 +204,6 @@ def initialize(options='', force=False):
204
204
  For instance if options = 'configure' and force = True it will
205
205
  override FARGOpy directory.
206
206
  """
207
- fargo_dir = f"{Conf.FP_FARGO3D_BASEDIR}/{Conf.FP_FARGO3D_PACKDIR}".replace('//','/')
208
-
209
207
  if ('configure' in options) or ('all' in options):
210
208
  # Create configuration directory
211
209
  if not os.path.isdir(Conf.FP_DOTDIR) or force:
@@ -224,6 +222,8 @@ def initialize(options='', force=False):
224
222
  Debug.trace(f"Configuration already in place.")
225
223
 
226
224
  if ('download' in options) or ('all' in options):
225
+ fargo_dir = f"{Conf.FP_FARGO3D_BASEDIR}/{Conf.FP_FARGO3D_PACKDIR}".replace('//','/')
226
+
227
227
  print("Downloading FARGOpy...")
228
228
  if not os.path.isdir(fargo_dir) or force:
229
229
  if os.path.isdir(fargo_dir):
@@ -241,6 +241,8 @@ def initialize(options='', force=False):
241
241
  print(f"Header file for FARGO3D found in the fargo directory {fargo_dir}")
242
242
 
243
243
  if ('check' in options) or ('all' in options):
244
+ fargo_dir = f"{Conf.FP_FARGO3D_BASEDIR}/{Conf.FP_FARGO3D_PACKDIR}".replace('//','/')
245
+
244
246
  print("Test compilation of FARGO3D")
245
247
  if not os.path.isdir(fargo_dir):
246
248
  print(f"Directory '{fargo_dir}' does not exist. Please download it with fargopy.initialize('download')")
@@ -0,0 +1 @@
1
+ version='0.3.2'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fargopy
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: FARGO3D Wrapping
5
5
  Home-page: https://pypi.org/project/fargopy
6
6
  Author: Jorge Zuluaga, Matias Montesinos
@@ -43,7 +43,20 @@ $ pip install fargopy
43
43
  ```
44
44
  as usual this command will install all dependencies (excluding `FARGO3D` which must be installed indepently as explained before) and download some useful data, scripts and constants.
45
45
 
46
- Since `FARGOpy` is a python wrap for `FARGO3D` the ideal environment to work with the package is `IPython`/`Jupyter`. It works really fine in `Google Colab` ensuing training and demonstration purposes.
46
+
47
+
48
+ Since `FARGOpy` is a python wrap for `FARGO3D` the ideal environment to work with the package is `IPython`/`Jupyter`. It works really fine in `Google Colab` ensuing training and demonstration purposes. This README, for instance, can be ran in `Google Colab`
49
+
50
+ <a target="_blank" href="https://colab.research.google.com/github/seap-udea/fargopy/blob/main/README.ipynb">
51
+ <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
52
+ </a>
53
+
54
+ If you are running in colab use:
55
+
56
+
57
+ ```python
58
+ #!pip install fargopy
59
+ ```
47
60
 
48
61
  If you are working in `Jupyter` or in `Google Colab`, the configuration directory and its content will be crated the first time you import the package:
49
62
 
@@ -56,7 +69,8 @@ import fargopy as fp
56
69
  %autoreload 2
57
70
  ```
58
71
 
59
- Running FARGOpy version 0.3.0
72
+ Configuring FARGOpy for the first time
73
+ Running FARGOpy version 0.3.1
60
74
 
61
75
 
62
76
  If you are working on a remote Linux server, it is better to run the package using `IPython`. For this purpose, after installation, `FARGOpy` provides a special initialization command:
@@ -25,7 +25,7 @@ setuptools.setup(
25
25
  'License :: OSI Approved :: MIT License',
26
26
  'Operating System :: OS Independent',
27
27
  ],
28
- version='0.3.1',
28
+ version='0.3.2',
29
29
 
30
30
  # ######################################################################
31
31
  # FILES
@@ -1 +0,0 @@
1
- version='0.3.1'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes