File tree Expand file tree Collapse file tree 7 files changed +11
-8
lines changed
Expand file tree Collapse file tree 7 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 2727 make
2828 - name : Test Mathics Scanner
2929 run : |
30- pip install pytest
30+ pip install -r requirement-dev.txt
3131 python -m mathics_scanner.generate.build_tables
3232 make check
Original file line number Diff line number Diff line change 2626 make
2727 - name : Test Mathics Scanner
2828 run : |
29- pip install pytest
29+ pip install -r requirement-dev.txt
3030 python -m mathics_scanner.generate.build_tables
3131 make check
Original file line number Diff line number Diff line change 2727 python setup.py install
2828 - name : Test Mathics
2929 run : |
30- pip install pytest
3130 pip install -r requirements-dev.txt
3231 python mathics_scanner/generate/build_tables.py
3332 py.test test
Original file line number Diff line number Diff line change 77"""
88
99import re
10- import ujson
1110import os
1211import pkg_resources
1312
13+ try :
14+ import ujson
15+ except ImportError :
16+ import json as ujson
17+
1418ROOT_DIR = pkg_resources .resource_filename ("mathics_scanner" , "" )
1519
1620# Load the conversion tables from disk
Original file line number Diff line number Diff line change 44# This file is suitable for sourcing inside POSIX shell as
55# well as importing into Python. That's why there is no
66# space around "=" below.
7- __version__ = "1.2.0 " # noqa
7+ __version__ = "1.2.1.dev0 " # noqa
Original file line number Diff line number Diff line change 1- PyYAML
2- click
31pytest
2+ # ujson is optional
3+ ujson
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def read(*rnames):
6262# General Requirements
6363INSTALL_REQUIRES = [
6464 "chardet" , # Used in mathics_scanner.feed
65- "ujson" , # Used in mathics_scanner.characters
65+ # "ujson", # Used in mathics_scanner.characters
6666 "click" , # Usin in CLI: mathics-generate-json-table
6767]
6868
You can’t perform that action at this time.
0 commit comments