dstndstn / tractor

The Tractor: measuring astronomical sources via probabilistic inference
Other
86 stars 24 forks source link

Makefile update needed -- not all files copied to /usr/local/tractor #66

Open moustakas opened 9 years ago

moustakas commented 9 years ago

Am I supposed to add /path/to/where/I/downloaded/tractor (in my case /usr/local/share/tractor) to my PYTHONPATH

or /usr/local/tractor which is where "make install" puts everything?

With the former all the import statements work but with the latter not everything gets installed, including "source_extractor.py" and "sfd.py" so I had to do: cp /usr/local/share/tractor/tractor/source_extractor.py /usr/local/tractor/lib/python/tractor/ cp /usr/local/share/tractor/tractor/sfd.py /usr/local/tractor/lib/python/tractor/

And: cp -R /usr/local/share/tractor/utils /usr/local/tractor/lib/python/

This probably just requires a simple update to the Makefile.

dstndstn commented 9 years ago

Oof. Really it should use setup.py, not a Makefile...