Skip to content

Commit fe3efec

Browse files
committed
Include grammar.
1 parent 03d2acd commit fe3efec

File tree

2 files changed

+28
-20
lines changed

2 files changed

+28
-20
lines changed

conda/meta.yaml

+27-20
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,47 @@
1-
{% set version = "0.0.7" %}
2-
# {% set sha256 = "2debe8a5fc000668edbf1b16bdc8de6e8830047bc3f3ffcb2a5636c16137b004" %}
1+
{% set name = "dolang" %}
2+
{% set version = "0.0.20" %}
33

44
package:
55
name: dolang
6-
version: {{ version }}
6+
version: 0.0.20
77

88
source:
99
path: ../
10-
# fn: master.tar.gz
11-
# url: https://github.com/EconForge/dolang.py/archive/master.tar.gz
12-
13-
# url: https://github.com/EconForge/dolang.py/archive/v{{ version }}.tar.gz
14-
# sha256: {{ sha256 }}
1510

1611
build:
17-
script: pip install --no-deps .
18-
number: 0
12+
number: 2
13+
noarch: python
14+
script: "{{ PYTHON }} -m pip install . -vv"
15+
always_include_files:
16+
- dolang/grammar.lark
1917

2018
requirements:
21-
build:
22-
- python
23-
- setuptools
19+
host:
20+
- pip
21+
- python >=3.8,<3.11
22+
- poetry
2423
run:
25-
- python >= 3.6
26-
- python
27-
- numba
28-
- sympy
24+
# numba is now an optional dependency
25+
# - numba >=0.57.1
26+
- numpy >=1.22.2
27+
- python >=3.8, <3.12
28+
- sympy >=1.11.1
29+
- pyyaml >=6.0
30+
- lark >=1.1.2
2931

3032
test:
3133
imports:
3234
- dolang
35+
- dolang.tests
3336

3437
about:
35-
home: https://github.com/econforge/Dolang
36-
license: BSD 2-Clause
37-
summary: 'Dolo Modeling Language'
38+
home: https://github.com/EconForge/dolang.py
39+
license: BSD-2-Clause
40+
license_family: BSD
41+
# in the future, don't include the license file
42+
# as it will be part of the source distribution
43+
# cf: https://github.com/EconForge/dolang.py/issues/3
44+
summary: Dolo Modeling Language
3845

3946
extra:
4047
recipe-maintainers:

dolang/grammar.py

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
grammar_0 = open(DATA_PATH, "rt", encoding="utf-8").read()
3636

37+
# from .grammar_lark import grammar_0
3738

3839
from lark.lark import Lark
3940

0 commit comments

Comments
 (0)