Hi,
I just added some docs for the find-links option:
http://mail.zope.org/pipermail/checkins/2008-August/023822.html
I'm not 100% on the order of searching of locations specified in find-links and whether or not pypi is still searched.
Would be great if someone could have a look and let me know if I need to make any changes.
cheers,
Chris
If the packages cannot be found in the URLs that I specify in find-links easy_install always checks pypi.
Is there some way to prevent this? I'd like to ensure that pypi is never checked.
Sal
This email does not create a legal relationship between any member of the Crédit Agricole group and the recipient or constitute investment advice. The content of this email should not be copied or disclosed (in whole or part) to any other person. It may contain information which is confidential, privileged or otherwise protected from disclosure. If you are not the intended recipient, you should notify us and delete it from your system. Emails may be monitored, are not secure and may be amended, destroyed or contain viruses and in communicating with us such conditions are accepted. Any content which does not relate to business matters is not endorsed by us.
Calyon is authorised by the Commission Bancaire in France and regulated by the Financial Services Authority for the conduct of business in the United Kingdom. Calyon is incorporated in France with limited liability and registered in England & Wales. Registration number: FC008194. Registered office: Broadwalk House, 5 Appold Street, London, EC2A 2DA.
On Wed, Aug 13, 2008 at 3:34 PM, Fadhley Salim fadhley.salim@uk.calyon.comwrote:
If the packages cannot be found in the URLs that I specify in find-links easy_install always checks pypi.
Is there some way to prevent this? I'd like to ensure that pypi is never checked.
Hello
You can use the --allow-hosts option to filter out authorized sites
see :
http://peak.telecommunity.com/DevCenter/EasyInstall#restricting-downloads-wi...
Although, I think you might encouter a bug with links starting with file://
Regards Tarek
Sal
This email does not create a legal relationship between any member of the Crédit Agricole group and the recipient or constitute investment advice. The content of this email should not be copied or disclosed (in whole or part) to any other person. It may contain information which is confidential, privileged or otherwise protected from disclosure. If you are not the intended recipient, you should notify us and delete it from your system. Emails may be monitored, are not secure and may be amended, destroyed or contain viruses and in communicating with us such conditions are accepted. Any content which does not relate to business matters is not endorsed by us.
Calyon is authorised by the Commission Bancaire in France and regulated by the Financial Services Authority for the conduct of business in the United Kingdom. Calyon is incorporated in France with limited liability and registered in England & Wales. Registration number: FC008194. Registered office: Broadwalk House, 5 Appold Street, London, EC2A 2DA.
Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
On Wed, Aug 13, 2008 at 3:39 PM, Tarek Ziadé ziade.tarek@gmail.com wrote:
On Wed, Aug 13, 2008 at 3:34 PM, Fadhley Salim < fadhley.salim@uk.calyon.com> wrote:
If the packages cannot be found in the URLs that I specify in find-links easy_install always checks pypi.
Is there some way to prevent this? I'd like to ensure that pypi is never checked.
Hello
You can use the --allow-hosts option to filter out authorized sites
see :
http://peak.telecommunity.com/DevCenter/EasyInstall#restricting-downloads-wi...
Although, I think you might encouter a bug with links starting with file://
See http://bugs.python.org/setuptools/issue7
Regards Tarek
Sal
This email does not create a legal relationship between any member of the Crédit Agricole group and the recipient or constitute investment advice. The content of this email should not be copied or disclosed (in whole or part) to any other person. It may contain information which is confidential, privileged or otherwise protected from disclosure. If you are not the intended recipient, you should notify us and delete it from your system. Emails may be monitored, are not secure and may be amended, destroyed or contain viruses and in communicating with us such conditions are accepted. Any content which does not relate to business matters is not endorsed by us.
Calyon is authorised by the Commission Bancaire in France and regulated by the Financial Services Authority for the conduct of business in the United Kingdom. Calyon is incorporated in France with limited liability and registered in England & Wales. Registration number: FC008194. Registered office: Broadwalk House, 5 Appold Street, London, EC2A 2DA.
Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
-- Tarek Ziadé | Association AfPy | www.afpy.org Blog FR | http://programmation-python.org Blog EN | http://tarekziade.wordpress.com/
Chris,
Another suggestion for the doc:
It could describe the consequence of having --find-links on the command line, plus find_links= in the distutils.cfg file. From what I can tell, you should use one or the other but not both.
Sal
-----Original Message----- From: distutils-sig-bounces@python.org [mailto:distutils-sig-bounces@python.org] On Behalf Of Chris Withers Sent: 13 August 2008 12:24 To: distutils-sig@python.org Subject: [Distutils] [buildout] looking for review of docs on find-links
Hi,
I just added some docs for the find-links option:
http://mail.zope.org/pipermail/checkins/2008-August/023822.html
I'm not 100% on the order of searching of locations specified in find-links and whether or not pypi is still searched.
Would be great if someone could have a look and let me know if I need to make any changes.
cheers,
Chris
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
This email does not create a legal relationship between any member of the Crédit Agricole group and the recipient or constitute investment advice. The content of this email should not be copied or disclosed (in whole or part) to any other person. It may contain information which is confidential, privileged or otherwise protected from disclosure. If you are not the intended recipient, you should notify us and delete it from your system. Emails may be monitored, are not secure and may be amended, destroyed or contain viruses and in communicating with us such conditions are accepted. Any content which does not relate to business matters is not endorsed by us.
Calyon is authorised by the Commission Bancaire in France and regulated by the Financial Services Authority for the conduct of business in the United Kingdom. Calyon is incorporated in France with limited liability and registered in England & Wales. Registration number: FC008194. Registered office: Broadwalk House, 5 Appold Street, London, EC2A 2DA.
Fadhley Salim wrote:
It could describe the consequence of having --find-links on the command line, plus find_links= in the distutils.cfg file. From what I can tell, you should use one or the other but not both.
Not sure this is the case, I would have thought it would just be the same as specifying either more than once, ie: you just get get more than one source of links.
cheers,
Chris
On Aug 13, 2008, at 7:23 AM, Chris Withers wrote:
Hi,
I just added some docs for the find-links option:
http://mail.zope.org/pipermail/checkins/2008-August/023822.html
Cool. Thanks.
I'm not 100% on the order of searching of locations specified in find-links and whether or not pypi is still searched.
For buildout, the index is always searched, because it always wants to find the newest. (This could probably be optimized in certain situations.) I'm not sure about the order, but it doesnt' really matter.
Would be great if someone could have a look and let me know if I need to make any changes.
Looks good to me.
Jim
-- Jim Fulton Zope Corporation
Jim Fulton wrote:
I'm not 100% on the order of searching of locations specified in find-links and whether or not pypi is still searched.
For buildout, the index is always searched, because it always wants to find the newest.
Okay, so the index is set to PyPI's simple index by default, right?
I'm guessing find-links adds locations to search that are checked before the index is specified, correct?
(This could probably be optimized in certain situations.) I'm not sure about the order, but it doesnt' really matter.
Indeed. The docs I've written suggest that there is an order and after a package has been found searching stops.
On IRC today, Philipp suggested that all options specified in find-links were checked for all packages and the latest version found was used.
Jim, can you clarify what exactly the case is here so I can make sure the docs aren't misleading people?
cheers,
Chris
On Aug 13, 2008, at 4:13 PM, Chris Withers wrote:
Jim Fulton wrote:
I'm not 100% on the order of searching of locations specified in find-links and whether or not pypi is still searched.
For buildout, the index is always searched, because it always wants to find the newest.
Okay, so the index is set to PyPI's simple index by default, right?
Yes
I'm guessing find-links adds locations to search that are checked before the index is specified, correct?
As I mentioned in my previous message, I don't know the order and I don't think it matters. AFAICT, the order isn't specified by setuptools and, therefore, might change in the future.
(This could probably be optimized in certain situations.) I'm not sure about the order, but it doesnt' really matter.
Indeed. The docs I've written suggest that there is an order
They should not
and after a package has been found searching stops.
I missed that. It doesn't.
On IRC today, Philipp suggested that all options specified in find- links were checked for all packages and the latest version found was used.
The latest version that satisfies the requirement. In fact, nothing is searched if the latest version satisfying the requirement is already installed.
Jim
-- Jim Fulton Zope Corporation
Jim Fulton wrote:
Indeed. The docs I've written suggest that there is an order
They should not
and after a package has been found searching stops.
I missed that. It doesn't.
On IRC today, Philipp suggested that all options specified in find-links were checked for all packages and the latest version found was used.
The latest version that satisfies the requirement. In fact, nothing is searched if the latest version satisfying the requirement is already installed.
Okay, I've updated the docs to reflect this:
http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/buildout.txt?rev=89829...
Please let me know if any more changes are necessary.
cheers,
Chris