droneCFD icon indicating copy to clipboard operation
droneCFD copied to clipboard

Installation in editable mode

Open p-chambers opened this issue 9 years ago • 2 comments

Hi,

I just tried to install droneCFD in editable mode from source (with python setup.py develop) and had this error:

error: ("Can't get a consistent path to setup script from installation directory", '/', '/home/pchambers/git/droneCFD')

I found the problem is in the setup.cfg line:

[egg_info] egg_base = /tmp

Does this line have a purpose? In any case removing this fixed the issue and allows local install in development mode.

May I ask also how you compile your distribution, looking at PyPi I assume you use python setup.py sdist?

Paul

p-chambers avatar Feb 26 '16 12:02 p-chambers

What OS and version of Python?

capaulson avatar Mar 05 '16 03:03 capaulson

This is on both Ubuntu 14.04 and OS X Yosemite, with Python 2.7.10. If it helps I am using Anaconda Python distribution on both machines.

p-chambers avatar Mar 05 '16 17:03 p-chambers