Mageia Bugzilla – Attachment 5744 Details for
Bug 14862
python-collada is a dependency amongst several of the makerspace toolchain, including FreeCAD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Build patch
python-collada-0.4-disable_unittest_downloads.patch (text/plain), 775 bytes, created by
Richard Houser
on 2014-12-20 22:44:51 CET
(
hide
)
Description:
Build patch
Filename:
MIME Type:
Creator:
Richard Houser
Created:
2014-12-20 22:44:51 CET
Size:
775 bytes
patch
obsolete
>Defining install_requires in setup() causes the packages >to be downloaded from pypi by easy_install. That defeats >the purpose of unit testing against installed system >packages, so disable the install_requires attribute. > >diff -up pycollada-pycollada-ed5d8f8/setup.py.nodownloads pycollada-pycollada-ed5d8f8/setup.py >--- pycollada-pycollada-ed5d8f8/setup.py.nodownloads 2012-09-20 11:52:49.000000000 -0500 >+++ pycollada-pycollada-ed5d8f8/setup.py 2012-11-02 15:19:08.621455388 -0500 >@@ -22,7 +22,7 @@ setup( > author_email = 'jterrace@gmail.com', > platforms=["any"], > license="BSD", >- install_requires=install_requires, >+# install_requires=install_requires, > extras_require = { > 'prettyprint': ["lxml"], > 'validation': ["lxml"]
Defining install_requires in setup() causes the packages to be downloaded from pypi by easy_install. That defeats the purpose of unit testing against installed system packages, so disable the install_requires attribute. diff -up pycollada-pycollada-ed5d8f8/setup.py.nodownloads pycollada-pycollada-ed5d8f8/setup.py --- pycollada-pycollada-ed5d8f8/setup.py.nodownloads 2012-09-20 11:52:49.000000000 -0500 +++ pycollada-pycollada-ed5d8f8/setup.py 2012-11-02 15:19:08.621455388 -0500 @@ -22,7 +22,7 @@ setup( author_email = 'jterrace@gmail.com', platforms=["any"], license="BSD", - install_requires=install_requires, +# install_requires=install_requires, extras_require = { 'prettyprint': ["lxml"], 'validation': ["lxml"]
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14862
:
5743
| 5744