Python Packages + Multiple Sources

Stanislav Ochotnicky sochotnicky at redhat.com
Wed Dec 8 08:55:56 UTC 2010


On 12/08/2010 04:25 AM, Jeff Spaleta wrote:
> On Wed, Dec 8, 2010 at 2:39 AM, BJ Dierkes <wdierkes at 5dollarwhitebox.org> wrote:
>> Hello all,
>>
> 
> Just to be clear... PyPI has an implied "one source" requirement
> embedded in its repository structure and you have optimized your
> upstream project release structure to meet PyPI's implied requirement.
> 
> Question does PyPI handle dependency tracking?
> 
> If I easy_install cement.devtools   does cement get installed automagically?

Yes, setup function from python setuptools has named argument
'install_requires' that causes dependencies to be pulled in during
install time. Assuming cement.devtools has install_requires = ['cement']
this will work as you'd expect

-- 
Stanislav Ochotnicky <sochotnicky at redhat.com>
Associate Software Engineer - Base Operating Systems Brno

PGP: 71A1677C
Red Hat Inc.                               http://cz.redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20101208/c36c0505/attachment.bin 


More information about the devel mailing list