Skip to content

Commit

Permalink
[Python | Infra] Adding missing projects in build script (#2219)
Browse files Browse the repository at this point in the history
  • Loading branch information
tellarin authored Jul 23, 2020
1 parent 95c8dbe commit 5fd77df
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Python/build.ci.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ pip install -e .\libraries\recognizers-number\

pip install -e .\libraries\recognizers-number-with-unit\

pip install -e .\libraries\datatypes-timex-expression\

pip install -e .\libraries\recognizers-date-time\

pip install -e .\libraries\recognizers-sequence\

pip install -e .\libraries\recognizers-suite\

pip install -e .\libraries\datatypes-timex-expression\

ECHO # Validating PEP8 style
call flake8 . --config=.\setup.cfg

Expand Down
7 changes: 7 additions & 0 deletions Python/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ echo // Installing Resource Generator Dependencies
pip install -r ./requirements.txt

echo // Building Resources
python index.py ../recognizers-choice/resource-definitions.json
python index.py ../recognizers-number/resource-definitions.json
python index.py ../recognizers-number-with-unit/resource-definitions.json
python index.py ../recognizers-date-time/resource-definitions.json
Expand All @@ -19,12 +20,18 @@ pip install -e ./libraries/recognizers-number/
echo // Installing recognizers-number-with-unit
pip install -e ./libraries/recognizers-number-with-unit/

echo // Installing datatypes-timex-expression
pip install -e ./libraries/datatypes-timex-expression/

echo // Installing recognizers-date-time
pip install -e ./libraries/recognizers-date-time/

echo // Installing recognizers-sequence
pip install -e ./libraries/recognizers-sequence/

echo // Installing recognizers-choice
pip install -e ./libraries/recognizers-choice/

echo // Installing recognizers-suite
pip install -e ./libraries/recognizers-suite/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class BaseCurrency:
("__D", "CENT"),
("RUB", "KOPEK"),
("AFN", "PUL"),
("EUR", "CENT"),
("EUR", "CENT|KWARTJE|DUBBELTJE|STUIVER"),
("ALL", "QINDARKE"),
("_ALP", "PENNY"),
("GBP", "PENNY"),
Expand Down Expand Up @@ -253,7 +253,10 @@ class BaseCurrency:
("Kopiyka", 100),
("Tiyin", 100),
("Hào", 10),
("Ngwee", 100)])
("Ngwee", 100),
("Kwartje", 4),
("Dubbeltje", 10),
("Stuiver", 20)])
NonStandardFractionalSubunits = dict([("JOD", 1000),
("KWD", 1000),
("BHD", 1000),
Expand Down
2 changes: 1 addition & 1 deletion Script/Utils/countNotSupportedCases.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ def get_all_dir(path):
path = r".\Specs\DateTime\Spanish\\"
get_all_dir(path)
end = time.time()
print(end-start)
print(end-start)
2 changes: 1 addition & 1 deletion Script/Utils/deleteNotSupportedPlatform.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ def get_all_dir(path):
path = r".\Specs\DateTime\Spanish\\"
get_all_dir(path)
end = time.time()
print(end-start)
print(end-start)
2 changes: 1 addition & 1 deletion Script/Utils/getNotSupportedInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ def get_all_dir(path):
path = r".\Specs\DateTime\Spanish\\"
getAllDir(path)
end = time.time()
print(end-start)
print(end-start)

0 comments on commit 5fd77df

Please sign in to comment.