Bug 1478976

Summary: Option -e (--excutable) conflicts with --editable when using Paver
Product: [Fedora] Fedora Reporter: Viliam Križan <vkrizan>
Component: python-setuptoolsAssignee: Michal Cyprian <mcyprian>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 26CC: cstratak, infra-sig, lewk, mhroncok, randy, rkuska
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-setuptools-36.2.0-2.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-20 18:28:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.