简体   繁体   中英

Pyfacebook from buildout

What is the best way to install the latest version of pyfacebook with buildout? The package is hosted on github and is not on pypi. This system doesn't have git installed, so a git-based recipe isn't unfortunately not an option. The github URL is http://github.com/sciyoshi/pyfacebook . TIA!

You can add any python package hosted on git-hub by adding a find-links url pointing to the project tarball URL plus a #egg=packagename postfix. For pyfacebook that is:

http://github.com/sciyoshi/pyfacebook/tarball/master#egg=pyfacebook

So a simple buildout would be:

[buildout]
parts = whatever
find-links =
    http://github.com/sciyoshi/pyfacebook/tarball/master#egg=pyfacebook
eggs = pyfacebook

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM