trelau / SMESH

Mesh module from the Salome Platform
GNU Lesser General Public License v2.1
50 stars 31 forks source link

python prepare.py fails #35

Closed opoplawski closed 3 years ago

opoplawski commented 3 years ago

Issue description

Trying to run python prepare.py from current git master on Fedora rawhide:

$ python prepare.py
Traceback (most recent call last):
  File "/home/orion/fedora/smesh/SMESH-ab0f4357a2fc8c250102bbf9ff2e057a9ca6a1aa/prepare.py", line 119, in <module>
    prepare_netgen()
  File "/home/orion/fedora/smesh/SMESH-ab0f4357a2fc8c250102bbf9ff2e057a9ca6a1aa/prepare.py", line 21, in prepare_netgen
    pset = patch.fromfile('external/NETGENPlugin/src/NETGEN/netgen53ForSalome.patch')
AttributeError: module 'patch' has no attribute 'fromfile'
opoplawski commented 3 years ago

Appears to work if I install the patch module with pip. Probably worth a mention.

trelau commented 3 years ago

Added note in readme about installing patch.py in https://github.com/trelau/SMESH/pull/42