2020-11-26 07:37:29 +01:00
|
|
|
# BIMTester
|
|
|
|
|
### Packages to be installed
|
|
|
|
|
+ behave
|
|
|
|
|
+ pystache
|
|
|
|
|
+ ifcopenshell
|
|
|
|
|
|
|
|
|
|
|
2020-11-26 07:38:50 +01:00
|
|
|
### Start bimtester Gui from a shell
|
|
|
|
|
```
|
|
|
|
|
python3 ./bimtester.py -g
|
|
|
|
|
```
|
|
|
|
|
|
2020-11-26 07:37:29 +01:00
|
|
|
### Create a binary out of the Python package
|
|
|
|
|
+ The commands needs to be updated
|
|
|
|
|
+ Unix:
|
|
|
|
|
`$ pyinstaller --onefile --clean --icon=icon.ico --add-data "features:features" bimtester.py`
|
|
|
|
|
+ Windows:
|
|
|
|
|
`$ pyinstaller --onefile --clean --icon=icon.ico --add-data "features;features" bimtester.py`
|
2020-12-21 12:08:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
### Translation files
|
|
|
|
|
+ the binary mo translation files are not part of the repo
|
|
|
|
|
+ they might be needed to be recreated
|
|
|
|
|
+ use the following commands on Linux
|
|
|
|
|
```
|
|
|
|
|
cd YourIfcopenshellRepository/src/ifcbimtester/bimtester/locale
|
|
|
|
|
pybabel compile -d .
|
|
|
|
|
|
|
|
|
|
```
|