Skip to content

Commit

Permalink
Include grammar.
Browse files Browse the repository at this point in the history
  • Loading branch information
albop committed Nov 7, 2024
1 parent 03d2acd commit fe3efec
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 20 deletions.
47 changes: 27 additions & 20 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,47 @@
{% set version = "0.0.7" %}
# {% set sha256 = "2debe8a5fc000668edbf1b16bdc8de6e8830047bc3f3ffcb2a5636c16137b004" %}
{% set name = "dolang" %}
{% set version = "0.0.20" %}

package:
name: dolang
version: {{ version }}
version: 0.0.20

source:
path: ../
# fn: master.tar.gz
# url: https://github.com/EconForge/dolang.py/archive/master.tar.gz

# url: https://github.com/EconForge/dolang.py/archive/v{{ version }}.tar.gz
# sha256: {{ sha256 }}

build:
script: pip install --no-deps .
number: 0
number: 2
noarch: python
script: "{{ PYTHON }} -m pip install . -vv"
always_include_files:
- dolang/grammar.lark

requirements:
build:
- python
- setuptools
host:
- pip
- python >=3.8,<3.11
- poetry
run:
- python >= 3.6
- python
- numba
- sympy
# numba is now an optional dependency
# - numba >=0.57.1
- numpy >=1.22.2
- python >=3.8, <3.12
- sympy >=1.11.1
- pyyaml >=6.0
- lark >=1.1.2

test:
imports:
- dolang
- dolang.tests

about:
home: https://github.com/econforge/Dolang
license: BSD 2-Clause
summary: 'Dolo Modeling Language'
home: https://github.com/EconForge/dolang.py
license: BSD-2-Clause
license_family: BSD
# in the future, don't include the license file
# as it will be part of the source distribution
# cf: https://github.com/EconForge/dolang.py/issues/3
summary: Dolo Modeling Language

extra:
recipe-maintainers:
Expand Down
1 change: 1 addition & 0 deletions dolang/grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

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

# from .grammar_lark import grammar_0

from lark.lark import Lark

Expand Down

0 comments on commit fe3efec

Please sign in to comment.