• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

tdsmith/homebrew-pypi-poet: Generates Homebrew resource stanzas for Python packa ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

tdsmith/homebrew-pypi-poet

开源软件地址:

https://github.com/tdsmith/homebrew-pypi-poet

开源编程语言:

Python 100.0%

开源软件介绍:

homebrew-pypi-poet

Build Status Code Health PyPI page MIT license

Invoked like poet foo for some package foo which is presently installed in sys.path, determines which packages foo and its dependents depend on, downloads them from pypi and computes their checksums, and spits out Homebrew resource stanzas.

poet -f foo will give you a complete Homebrew formula.

poet -s foo will write a resource stanza for a single package foo, which does not need to be installed, without considering its dependencies.

poet will use the versions of the packages that you presently have installed. If a package it wants to reference is not installed, the latest version on pypi will be downloaded and checksummed and its dependencies will not be considered.

The easiest way to use poet is to create a virtualenv, use pip or setuptools to install the target package and its dependencies in the virtualenv, and then pip install homebrew-pypi-poet and run poet inside the virtualenv.

Usage is like:

usage: poet [-h] [-V]
            [--single package [package ...] | --formula package |
             --resources package]
            [--also package]

Generate Homebrew resource stanzas for pypi packages and their dependencies.

optional arguments:
  -h, --help            show this help message and exit
  --single package [package ...], -s package [package ...]
                        Generate a resource stanza for one or more packages,
                        without considering dependencies.
  --formula package, -f package
                        Generate a complete formula for a pypi package with
                        its recursive pypi dependencies as resources.
  --also package, -a package
                        Specify an additional package that should be added to
                        the resource list with its recursive dependencies. May
                        not be used with --single. May be specified more than
                        once.
  --resources package, -r package
                        Generate resource stanzas for a package and its
                        recursive dependencies (default).
  -V, --version         show program's version number and exit

License

homebrew-pypi-poet is offered under the MIT license.

Contributors

homebrew-pypi-poet is maintained by Tim D. Smith. Robson Peixoto, Alessio Bogon, Julien Maupetit, and Zhiming Wang are thanked for their helpful contributions!




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap