bcmi / libcom

Image composition toolbox: everything you want to know about image composition or object insertion
Apache License 2.0
276 stars 18 forks source link

Resolve relative path not found in setup.py #22

Closed wzds2015 closed 7 months ago

wzds2015 commented 7 months ago

In setup.py::get_ext_modules, CPP file paths are set as relative. Installation raises error that cannot find the file paths. Now add absolute paths based on cur_dir. NOTE: cur_dir must be the project folder.