Skip to content

Commit dd2ce47

Browse files
committed
Add conda envrc, script for poetry->conda
1 parent 8a845e8 commit dd2ce47

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

environment.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
###############################################################################
2+
# NOTE: This file has been auto-generated by poetry2conda
3+
# poetry2conda version = 0.3.0
4+
# date: Fri Dec 2 13:08:14 2022
5+
###############################################################################
6+
# If you want to change the contents of this file, you should probably change
7+
# the pyproject.toml file and then use poetry2conda again to update this file.
8+
# Alternatively, stop using (ana)conda.
9+
###############################################################################
10+
name: pyquad
11+
dependencies:
12+
- python>=3.10,<4.0
13+
- numpy>=1.23.4,<2.0.0
14+
- scipy>=1.9.3,<2.0.0
15+
- rasterio>=1.3.3,<2.0.0
16+
- gdal==3.5.2
17+
- matplotlib>=3.6.2,<4.0.0
18+
- numba>=0.56.4,<0.57.0
19+
- jupyterlab>=3.5.0,<4.0.0
20+
- rich>=12.6.0,<13.0.0

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ live_mode = false
3636
strict = true
3737
dmypy = true
3838

39+
[tool.poetry2conda]
40+
name = "pyquad"
3941

4042
# Missing stub file overrides
4143
[[tool.mypy.overrides]]
@@ -50,3 +52,5 @@ ignore_missing_imports = true
5052
[[tool.mypy.overrides]]
5153
module = "rasterio.*"
5254
ignore_missing_imports = true
55+
56+

utils/convert-to-conda.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
poetry2conda ../pyproject.toml ../environment.yml

0 commit comments

Comments
 (0)