Skip to content

Commit 2667f2b

Browse files
committed
Merge branch 'master' of github.com:Mathics3/pymathics-natlang
2 parents 45d1208 + 96bcf2e commit 2667f2b

File tree

4 files changed

+37
-7
lines changed

4 files changed

+37
-7
lines changed

.github/workflows/osx.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Mathics (macOS)
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: macos-latest
12+
strategy:
13+
matrix:
14+
os: [macOS]
15+
python-version: [3.6, 3.7, 3.8]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
LLVM_CONFIG=/usr/local/Cellar/llvm@9/9.0.1_2/bin/llvm-config pip install llvmlite
25+
brew install mariadb
26+
python -m pip install --upgrade pip
27+
pip install pytest
28+
- name: Install pymathics.natlang
29+
run: |
30+
pip install -e .
31+
- name: Test Mathics
32+
run: |
33+
make check

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ def read(*rnames):
4444
name="pymathics-natlang",
4545
version=__version__,
4646
packages=find_namespace_packages(include=["pymathics.*"]),
47-
install_requires=["Mathics3>=2.2.0", "nltk", "spacy<3.0", "pattern"],
47+
install_requires=["Mathics3>=2.2.0", "nltk>=3.6.1", "spacy<3.0",
48+
"llvmlite>=0.36", "joblib>=1.0.1",
49+
"click>=7.1", "six>=1.11.0",
50+
"pattern>=3.6.0", "wasabi<1.1.0,>=0.8.2"],
4851
zip_safe=False,
4952
maintainer="Mathics Group",
5053
long_description=long_description,

test/test_natlang.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# -*- coding: utf-8 -*-
22
from .helper import session, check_evaluation
33

4-
import sys
5-
from mathics.core.parser import parse, SingleLineFeeder
6-
from mathics.core.definitions import Definitions
7-
from mathics.core.evaluation import Evaluation
8-
import pytest
9-
104
def test_natlang():
115

126
session.evaluate(

0 commit comments

Comments
 (0)