-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
86 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.bat eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
*deprecated* | ||
*dep* | ||
|
||
doc-build | ||
|
||
!config_files/**/*.dep | ||
|
||
dist | ||
|
||
dolfyn.egg-info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt | ||
if errorlevel 1 exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$PYTHON setup.py install --single-version-externally-managed --record=record.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
lib/ | ||
scripts* | ||
bdist* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
I haven't figured out how to script this because I don't know how to grab the `<version info>` string. Also, it could be risky to scriptify this. So, follow these steps. The commands below assume you're in the repository root folder. | ||
|
||
First edit the `meta.yaml` file to point to the version of dolfyn that you want to build. You need to point to a PyPi source to avoid git-lfs errors in conda-build. Also, you'll need to replace `<version info>` in the below commands with the appropriate string. | ||
|
||
Then run `conda-build . -o build/conda/` | ||
|
||
Then run `conda convert build/conda/dolfyn-<version info>-py27*.tar.bz2 -p osx-64,linux-64,linux-32,win-32,win-64`. | ||
|
||
Then upload those files: | ||
|
||
anaconda login | ||
anaconda upload build/conda/**/dolfyn-<version-info>-py27*.tar.bz2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package: | ||
name: dolfyn | ||
version: v1.2.0 | ||
|
||
source: | ||
url: https://files.pythonhosted.org/packages/c2/d5/613346df7123cf2e16fbe4f13748bbd26e6840e44391b2d51fdad7fbe173/dolfyn-1.2.0.tar.gz | ||
sha256: c6a81557d4ff6510836a24b0d621a05b4ee35a809249d10aa3ec0c799d589c6a | ||
|
||
requirements: | ||
build: | ||
- python=3.9 | ||
- setuptools | ||
- numpy>=1.21.0 | ||
- scipy>=1.7.0 | ||
- xarray>=0.19.0 | ||
- netcdf4<1.6.0 | ||
- bottleneck | ||
|
||
run: | ||
- python | ||
- numpy>=1.21.0 | ||
- scipy>=1.7.0 | ||
- xarray>=0.19.0 | ||
- netcdf4<1.6.0 | ||
- bottleneck | ||
|
||
test: | ||
imports: | ||
- dolfyn | ||
|
||
about: | ||
home: https://lkilcher.github.io/dolfyn/ | ||
license: BSD 3-Clause | ||
license_file: License.txt |