Skip to content

'develop' command does not support --home option #392

Closed
@ghost

Description

Originally reported by: Anonymous


The 'develop' command doesn't support the '--home' option. This gets used by pip when installing editable packages with '-t', yielding the following error:

$ pip2 install -e . -t www/lib/
Obtaining file:///Users/pgriess/src/pgriess-dallas-foodscores
Collecting tweepy>=3 (from foodscores==0.1)
  Using cached tweepy-3.3.0-py2.py3-none-any.whl
Collecting feedgen>=0.3 (from foodscores==0.1)
...
  Running setup.py develop for foodscores
    Complete output from command /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools, tokenize; __file__='/Users/pgriess/src/pgriess-dallas-foodscores/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps --home=/var/folders/lh/bdrw67kn04s7c7rdtsk50pg8f1dq3h/T/tmpyinatN:
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help

    error: option --home not recognized

Not sure if this should be considered a bug in setuptools or pip; apologies in advance if this is expected behavior and pip should just be doing something different.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions