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.

Author eric.araujo
Recipients alexis, eric.araujo, tarek
Date 2012-06-01.02:51:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338519088.06.0.996062086103.issue14950@psf.upfronthosting.co.za>
In-reply-to
Content
To summarize the high-level API needed: install from an index (argument is a version requirement as string), install archive file, install from directory (containing setup.cfg or setup.py).

When #8668 is implemented, an “editable” option will be nice too.  (Need to check pip doc and use cases to see if only the install from directory should get it.)

For the implementation, as discussed on IRC we want to go with classes to represent the various kinds of installable things (requirement, path to a file, path to a dir) and one or more high-level functions to wrap them for common cases (see Nick’s good article http://www.boredomandlaziness.org/2012/05/djangos-cbvs-are-not-mistake-but.html ).  I would prefer having two functions, one that takes a version req and another one that takes a path; it’s easy to distinguish between file (archive) and directory but I don’t like guessing between name and path (see the not-cool code in pysetup actions).
History
Date User Action Args
2012-06-01 02:51:28eric.araujosetrecipients: + eric.araujo, tarek, alexis
2012-06-01 02:51:28eric.araujosetmessageid: <1338519088.06.0.996062086103.issue14950@psf.upfronthosting.co.za>
2012-06-01 02:51:27eric.araujolinkissue14950 messages
2012-06-01 02:51:26eric.araujocreate