lofar-astron / RMextract

extract TEC, vTEC, Earthmagnetic field and Rotation Measures from GPS and WMM data for radio interferometry observations
GNU General Public License v3.0
31 stars 22 forks source link

error: option --add-lofar-utils not recognized #37

Closed AlexKurek closed 3 years ago

AlexKurek commented 3 years ago

This is what Im getting while trying to compile curent master:

+ mkdir -p /opt/RMextract-0.4/build/
+ cd /opt/RMextract-0.4/build/
+ git clone https://github.com/maaijke/RMextract.git source/
Cloning into 'source'...
+ cd source/
+ mkdir -p /opt/RMextract-0.4/lib/python2.7/site-packages/
+ python ./setup.py build --add-lofar-utils
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --add-lofar-utils not recognized
FATAL:   While performing build: while running engine: exit status 1
AlexKurek commented 3 years ago

196b0d1 does compile.

maaijke commented 3 years ago

THe latest build is now pip installable

On 7/15/21 2:59 PM, AlexKurek wrote:

This is what Im getting while trying to compile curent master:

|+ mkdir -p /opt/RMextract-0.4/build/ + cd /opt/RMextract-0.4/build/ + git clone https://github.com/maaijke/RMextract.git source/ Cloning into 'source'... + cd source/ + mkdir -p /opt/RMextract-0.4/lib/python2.7/site-packages/ + python ./setup.py build --add-lofar-utils /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: option --add-lofar-utils not recognized FATAL: While performing build: while running engine: exit status 1 |

gmloose commented 3 years ago

Fixed by commit af20e64.