Bug 1478976 - Option -e (--excutable) conflicts with --editable when using Paver
Summary: Option -e (--excutable) conflicts with --editable when using Paver
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-setuptools
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Michal Cyprian
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-07 15:40 UTC by Viliam Križan
Modified: 2017-08-20 18:28 UTC (History)
6 users (show)

Fixed In Version: python-setuptools-36.2.0-2.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-20 18:28:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Viliam Križan 2017-08-07 15:40:07 UTC
Description of problem:

Setuptool's option -e (--executable) conflicts with option --editable, when used with Paver [1]. This conflict is produced when Paver is merging options for `develop` command. The develop command is then used by `pip --editable`. The editable install is then no usable (console_scripts are not installed, etc.).


Version-Release number of selected component (if applicable):
add-executable-option.patch

How reproducible:


Steps to Reproduce:
1. Use example of pavement.py from [1]
2. Install paver or use zipped minilib
3. produce setup.py
4. run $ python3 setup.py devlop

Actual results:

~~~
*** Problem with pavement:
/pavement.py
In setting command options for Task: <class 'setuptools.command.develop.develop'>,
    option -e/--executable for Task: <class 'setuptools.command.develop.develop'> is already in use
    by another task in the dependency chain.
~~~

Expected results:

`python3 setup.py devel` to work with Paver. 
The short executable option could be changed to `-E`, or, have only the long --executable option.

Additional info:

[1] https://pythonhosted.org/Paver/

Comment 1 Fedora Update System 2017-08-15 11:38:46 UTC
python-setuptools-36.2.0-2.fc26 python3-3.6.2-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-be5c1b152f

Comment 2 Fedora Update System 2017-08-16 00:53:46 UTC
python-setuptools-36.2.0-2.fc26, python3-3.6.2-5.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-be5c1b152f

Comment 3 Fedora Update System 2017-08-20 18:28:09 UTC
python-setuptools-36.2.0-2.fc26, python3-3.6.2-5.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.