Use of "install_requires" precludes using distutils

Bug #1210181 reported by Andrew Forrest on 2013-08-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Andrew Forrest

Bug Description

The external dependency of Inception on the package "python-novaclient" can only be expressed via setuptools' "install_requires" keyword argument (because "python-novaclient" contains a hyphen and is therefore not a valid python identifier).

Since the "install_requires" keyword argument is not known to distutils.core's setup function the fall-back to using the latter should be removed (since it can't work anyway).

Andrew Forrest (forrest-r) wrote :
Changed in inception:
assignee: nobody → Andrew Forrest (forrest-r)
Changbin Liu (changbl) on 2013-08-28
Changed in inception:
importance: Undecided → Low

Fix proposed to branch: master

Changed in inception:
status: New → In Progress

Submitter: Jenkins
Branch: master

commit f00b99bb703a4e8e9a69b2f9c4e427fdf10cd876
Author: Andrew Forrest <email address hidden>
Date: Wed Aug 28 14:34:10 2013 -0700

    Remove fallback to distutils

    Inception has dependencies that cannot be expressed using distutils so the
    code that substitutes distutils if setuptools cannot be imported should be
    removed lest it be invoked and lead to a confusing error case.

    Change-Id: I8959855b3b48e6742b73770a32f7931ccc1c78ef
    Fixes: bug #1210181

Changed in inception:
status: In Progress → Fix Committed
Changbin Liu (changbl) on 2013-09-18
Changed in inception:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers