This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年04月04日 10:33 by jaraco, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue21153.py | jaraco, 2014年04月04日 11:00 | |||
| issue21153.py | jaraco, 2014年04月04日 11:58 | |||
| issue21153.py | jaraco, 2014年04月05日 12:04 | |||
| Messages (6) | |||
|---|---|---|---|
| msg215508 - (view) | Author: Jason R. Coombs (jaraco) * (Python committer) | Date: 2014年04月04日 10:33 | |
In https://bitbucket.org/pypa/setuptools/issue/178, Eduard reported an issue that setuptools fails to install due to files in its structure with spaces in the filenames. These files have been around for some time (over two years in Distribute), but are now revealing a limitation in bdist_rpm. The aforementioned ticket demonstrates the issue, and I will be providing a script to replicate the failure shortly. |
|||
| msg215509 - (view) | Author: Jason R. Coombs (jaraco) * (Python committer) | Date: 2014年04月04日 11:00 | |
The attached script (issue21153.py) replicates the failure in a Unix environment with the 'rpm' command present. |
|||
| msg215513 - (view) | Author: Jason R. Coombs (jaraco) * (Python committer) | Date: 2014年04月04日 11:58 | |
I tried using the --install-script hook of the bdist_rpm command to update the INSTALLED_FILES listing to wrap them in quotes, but that doesn't help: http://paste.jaraco.com/uNMrQ I also delved into the RPM docs, which don't provide any guidance other than to put one file per line. I now believe that this is a bug in RPM and there's nothing that can be done in distutils to work around the issue. |
|||
| msg215563 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2014年04月04日 21:04 | |
Is this a duplicate of #809163 ? |
|||
| msg215579 - (view) | Author: Jason R. Coombs (jaraco) * (Python committer) | Date: 2014年04月04日 23:56 | |
Yes. Exactly. |
|||
| msg215596 - (view) | Author: Jason R. Coombs (jaraco) * (Python committer) | Date: 2014年04月05日 12:04 | |
My last version of the repo script would have worked had I coded it correctly. The line-by-line substitution was broken, not taking into account the newline character. This new script demonstrates that quoting each file works - simply run the script with "--install-script install.txt". |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:01 | admin | set | github: 65352 |
| 2014年04月05日 12:04:34 | jaraco | set | files:
+ issue21153.py messages: + msg215596 |
| 2014年04月04日 23:56:45 | jaraco | set | status: open -> closed resolution: duplicate messages: + msg215579 |
| 2014年04月04日 21:04:48 | eric.araujo | set | messages: + msg215563 |
| 2014年04月04日 11:58:58 | jaraco | set | files:
+ issue21153.py messages: + msg215513 |
| 2014年04月04日 11:00:49 | jaraco | set | files:
+ issue21153.py messages: + msg215509 |
| 2014年04月04日 10:33:36 | jaraco | create | |