支持manylinux的pex打包工具链。

manypex的Python项目详细描述


许多类型图片::https://travis-ci.org/parsely/manypex.svg?branch=master
:target:https://travis ci.org/parsely/manypex

manypex是pex项目的一个分支,它增加了对manylinux轮子的支持。
我们有一个pr<;https://github.com/pantsbuild/pex/pull/316>;``uu open来将这个
功能引入pex,但是自从lATE 2016没有进展的迹象。由于我们(以及许多其他用户)需要此功能,我们决定暂时使用fork


`pep 441<;http://legacy.python.org/dev/pep s/pep-0441/>;``u
中概述,并使python应用程序的部署像``cp``一样简单。pex文件甚至可能包含多个特定于平台的python发行版,这意味着单个pex文件可以跨linux和os x移植。

pex文件可以使用"pex"工具构建。构建系统,例如"pants
<;http://pants build.org/>;``` `,`buck<;http://facebook.github.io/buck/>;` ` `,和`{py}gradle<;https://github.com/linkedin/pygradle>;` ` ` ` ` ` ` ` ` `也直接支持构建.pex文件。

看这闪电般的闪电:wtf是pex吗?&http://www.youtube.com/watch?v=nmpnghrwsu0>;`.


pex根据apache2许可证获得许可。



代码块::bash

$pip install pex

代码块::bash

$tox-e py27包
$cp dist/pex~/bin

在PEX,这是一个哲学上的问题。



简单的例子
==


代码块::bash

$pex请求flask'psutil>;2,<;3'

代码块::bash

$pex-r<;(pip freeze)-o my_virtualenv.pex
$deactivate
$。/my_virtualenv.pex


代码块::bash

$pex flask--webserver.py


使用sphinx入口点"sphinx:main"在短暂的pex环境中启动sphinx:

代码块::bash

$pex sphinx-e sphinx:main--help


代码块::bash

$pex pex-c pex-o pex.pex


代码块::bash

$pex pex-c pex--python=pypypy-o pypy pypy pex.pex


大多数pex选项彼此组合得很好,因此可以将上述命令进行
混合和匹配。要获得完整的选项列表,只需键入"pex--help`"。




将pex集成到您的工作流中
===


,将pex集成到
工作流中的一个简单方法是在"tox.ini"中添加一个打包测试环境:

。代码块:ini

[testenv:package]
deps=pex
commands=pex。-o dist/app.pex

然后``tox-e package``将生成应用程序的可重定位副本
,您可以将其复制到暂存或生产环境中。




文档
==


x文件以及.pex文件的工作方式
可在https://pex.readthedocs.io.



===


pex使用'tox<;https://testrun.org/tox/en/latest/>;``用于测试和开发自动化。要运行
测试套件,只需调用tox:

…代码块::bash

$tox

代码块:



>$pex-tox-c-tox-o-o~/bin/tox




贡献
=====




>要贡献贡献贡献,请按照以下说明:http://pantsbuild.org/howto_contribution.html



>发行说明
======br/>


>1.3.2.post2 2.post2

>
>
>
>
>
>>
>
>>
*修复一对输入错误自述和设置。py

1.3.2.post1
----

*manypex fork的首次发布。我们希望这最终将是不必要的,但现在这个fork是唯一一个让` 316<;https://github.com/pantsbuild/pex/pull/316>;` ` ` ` `合并的地方。


1.3.2
----

*为跳过pex解析器中的要求添加黑名单处理.com/pantsbuild/pex/pull/457>;`


>1.3.1
-




>








*这是一个错误修复版本,用于在1.3.0.0.0.0.0.1.3.0.0.1.3.0.0.0.1.3.0.0.1.3.0.0.1.3.0.0.0.1.1.3.0.0.0.0.0.1.1.1.0.1.1.1.1.0.1.1.1.1.1.1.1.1.U路径测试使用新值(450)
` 450<;https://github.com/pantsbuild/pex/pull/450>;`


>1.3.0
-
>


*继承路径允许‘偏好’、‘回退’、‘假’(444)
` 444<;https://github.com/pantsbuild/pex/pull/444>;`


<<<
<<<<<<<<<<
br/>1.2.16
----

*更改PEX从env到os.environ的re-exec变量变量从env到os.environ的re-exec变量(3535; 441)
` 441<;https://github.com/pantsbuild/pex/pull/441>;`

<1.2.15
----
>






*针对入口点目标定位+集成测试的漏洞补丁补丁补丁(435)
` 435<;https://github.com/pantsbuild/pantsbuild/pantsbuild/pex/pex/puu

1.2.14
-----

*添加解释器约束选项,并使用约束在执行时搜索兼容的解释器(427)
` 427<;https://github.com/pantsbuild/pex/pull/427>;`

1.2.13
----

*修复预发布选项的处理。
424<;https://github.com/pantsbuild/pex/pull/424>;` ` `








从pex-info元数据(421)中获取pex路径的补丁系统模块使用pex路径的补丁系统模块
421<;https://github.com/pantsbuild/pex/pull/421>;` `/>


<1.2.12
1.2.12






*为pex cli和load pex创建--pex路径参数进入PEX信息元数据的路径(417)
` 417<;https://github.com/pantsbuild/pex/pull/417>;`


1.2.11
----

*在可用时利用"subprocess32"。(411)
` 411<;https://github.com/pantsbuild/pex/pull/411>;`

*终止对python 2.6的支持。
` ` ` 405<;https://github.com/pantsbuild/pantsbuild/pex/issues/405>;` ` `
` ` 408<;https://github.com/pantsbuild/pantsbuild/pex/pull/408>;` ` `

<1.2.10
=>>


` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` 408;408<;40lt;https://github.com/pantsbuild/pex/pull/400>;`

1.2.9
----

*增加对多解释器和多平台PEX建设的一流支持。
394<;https://github.com/pantsbuild/pantsbuild/pex/pull/394>;`

>1.2.8
-
>
*最低设置工具版本应为20.3(<351)
391<;https://github.com/pantsbuild/pex/pull/391>;`
改善车轮车轮车轮的使用性能。支持PEX。(388)
` 388<;https://github.com/pantsbuild/pex/pull/388>;`


1.2.7
----


*pex-info文件中的排序键,因此输出是确定的。
《384<;https://github.com/pantsbuild/pantsbuild/pex/pull/384>;`



*sourcetrans译者(386)的pass平台
《386<;https://github.com/pantsbuild/pex/pull/386>;`

>1.2.6
<1.2.6
-
-



*对模棱两可解析的不明确可解析的修复方法的修复方法的研究。传递依赖项解析中的错误(367)
` 367<;高温http://github.com/pantsbuild/pex/pull/367>;` `


>1.2.5
-












*在明确要求时解决预发布版本(372)
` ` ` ` 374<;https://github.com/pantsbuild/pex/pull/374>;` ` `

>
>*pass
>
<1.2.2.0在解决预发布版本解析代码路径中的错误1.2.0的1.2.0后续允许预发布到其他迭代器(静态,缓存)(373)
` 373<;https://github.com/pantsbuild/pex/pull/373>;`

<1.2.4
----


*使用可精确解析的方法修复缓存依赖项解析中的错误。(365)
` 365<;https://github.com/pantsbuild/pex/pull/365>;`

*将.pth注入的路径视为附加路径。(#370)
`#370 <https://github.com/pantsbuild/pex/pull/370>`_

1.2.3
-----

* Follow redirects on HTTP requests (#361)
`#361 <https://github.com/pantsbuild/pex/pull/361>`_

* Fix corner case in cached dependency resolution (#362)
`#362 <https://github.com/pantsbuild/pex/pull/362>`_

1.2.2
----

*修复cachecontrol导入。(357)
` 357<;https://github.com/pantsbuild/pex/pull/357>;`


1.2.1
----


此版本是对在1.2.0中意外出现的引导程序错误的快速修复(问题
354)。

*确保"打包"依赖是自包含的。(355)
` 355<;https://github.com/pantsbuild/pex/pull/355>;`
`修复354<;https://github.com/pantsbuild/pex/issues/354>;`

1.2.0
----

此版本更改了pex需求解析行为。现在只有稳定的需求可以通过
default来解决。包含预发布的先前行为可以通过在pex命令行中传递"--pre"或通过api传递"allow_pre releases=true"来保留。

*将依赖项升级到现代版本范围。(352)
` 352<;https://github.com/pantsbuild/pex/pull/352>;`

*添加对控制预发布分辨率的支持。(#350)
`#350 <https://github.com/pantsbuild/pex/pull/350>`_
`Fixes #28 <https://github.com/pantsbuild/pex/issues/28>`_

1.1.20
------

* Add dummy flush method for clean interpreter exit with python3.6 (#343)
`#343 <https://github.com/pantsbuild/pex/pull/343>`_

1.1.19
------

*实施——PEX(335)中的约束条件
` ` 335<;https://github.com/pantsbuild/pex/pull/335&g t;`


*确保命名空间包(如virtualalenvwwrapper)不会破坏PEX(338)
` ` `<;https://github.com/pantsbuild/pex/pull/338>;` ` `






1.1.18
----

*公开PEX实例的路径。
332<;https://github.com/pantsbuild/pex/pull/332>;` `



>
*从鸡蛋(328)
328<;https://github.com/pantsbuild/pex/pull/328>;`/>


1.1.17
——











<
<

<


*使PEX路径统一PEX来源和要求。(329)
` 329<;https://github.com/pantsbuild/pex/pull/329>;`


1.1.16
----


*调整filefinder导入以使用python 3.6。(318)
` 318<;https://github.com/pantsbuild/pex/pull/318>;`

*杀死Zipmanifest MonkeyPatching。(322)
` 322<;https://github.com/pantsbuild/pex/pull/322>;`

*bump setuptools范围最新。(323)
` 323<;https://github.com/pantsbuild/pex/pull/323>;`


1.1.15
----


*通过删除分发查找程序的输出修复309。(310)
` 310<;https://github.com/pantsbuild/pex/pull/310>;`

*将车轮相关性更新为>;0.26.0。(304)
` 304<;https://github.com/pantsbuild/pex/pull/304>;`

>1.1.14
----

*修复其他类ioerror/oserror的执行器错误处理。(292)
` 292<;https://github.com/pantsbuild/pex/pull/292>;`

*修复bdist_pex--pex args。(285)
` 285<;https://github.com/pantsbuild/pex/pull/285>;``u

*使用--inherit path继承用户站点。(284)
` 284<;https://github.com/pantsbuild/pex/pull/284>;`


1.1.13
----


*修复stdio kwargs到pex.run()的传递。(288)
` 288<;https://github.com/pantsbuild/pex/pull/288>;`

<1.1.12
----


*修复bdist_u-pex解释器缓存目录。(286)
` 286<;https://github.com/pantsbuild/pex/pull/286>;`

*规范化和编辑子流程执行。(255)使用setuptools入口点时不要忽略出口代码。
280<;https://github.com/pantsbuild/pex/pull/280>;http://github.com/pantsbuild/pex/pull/280>;http://github.com/pantsbuild/pantsbuild/pex/issues/137>;http://github.com/pantsbuild/pex/issues/137>;`

<1.1.11
><1.1.1.11
-
>>

>
>
>
直接调用bdist u-pex.run run bdist.run.run时更新缓存目录目录。
://github.com/pantsbuild/pex/pull/278&g` ` ` ` ` ` ` `修复` ` 274<;https://github.com/pantsbuild/pantsbuild/pex/issues/274>;` ` ` ` `<

<1.1.10
-


` ` ` ` ` ` `修复` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `修复` ` ` 265 https://github.com/pantsb构建/pex/issues/265>;` `

>1.1.9
-
>
*错误:二进制模式下打开setup.py。
` ` ` ` ` ` 264<;https://github.com/pantsbuild/pex/pull/264>;` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `.1.8
----

*错误修复:修复回归在`--禁用缓存`.
` ` ` ` ` ` 261<;https://github.com/pantsbuild/pex/pull/261>;` ` `
`修复` ` ` 260<;https://github.com/pantsbuild/pex/issues/260>;` ` `

<1.1.7
-
>
>
*在pypi描述中添加自述文件和支持的python版本。
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` hub.com/pan网站构建/pex/pull/258>;`` `


*使用带有utf-8支持的"open"来支持utf-8。
`231<;https://github.com/pantsbuild/pantsbuild/pex/pull/231>;`

*添加--pex根选项。
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
----

在1.1.5(发布243)中意外退出的回归。

>
*修复为python2工作的setuptools命令。
```bdist'upex```setuptools``修复python2工作的命令。
```246<;https://github.com/pantsbuild/pex/pull/246>;```
`修复243<;https://github.com/pantsbuild/pex/issues/243>;``fixes

*升级对"setuptools"和"wheel`````的依赖关系。
244<;https://github.com/pantsbuild/pex/pull/244>;` `
`修复` 238<;https://github.com/pantsbuild/pex/issues/238>;` ` ` ` ` `` setuptools``和`` wheel`````的依赖关系` ` ` `` setuptools``和`` wheel```的依赖关系` ` ` ` ` ` ` ` ` ` ` `` pex ``和` ` ` ` `` pex args`` for`--python``以及``````````````````````````````````````http://github.com/pantsbuild/pex/pull/234>;``````````````````补丁````````````补丁`````补丁``````补丁`````````````````````````````````````````````````````````````````````````````````````` ` `拉/227>;`
`修复了226<;https://github.com/pantsbuild/pex/issues/226>;`觕

*修复了``继承路径``处理。
`觕224<;https://github.com/pantsbuild/pex/pull/224>;`觕

*修复了用作pex入口点时对错误分发脚本名称的处理。
`觕221<;https://github.com/pantsbuild/pex/issues/221>;` `
`fixes 220<;https://github.com/pantsbuild/pex/issues/220>;`

<1.1.4
----


此版本是对在1.1.3(issues 216)中意外出现的回归的快速修复。

*fixedeggmeta中添加回归测试数据。_zipinfo_name``并还原中断提交。
`fixes 216<;https://github.com/pantsbuild/pex/issues/216>;`觕

1.1.3
----


此版本包括对Windows支持的初始工作、对CPython 2.x的ABI标记支持和对版本号normali的修复。实现。

*添加python 2.x abi标记支持。
` 214<;https///github.com/pantsbuild/pex/pull/214>;`\br/>`fixex213<;https://github.com/pantsbuild/pex/issues/213>;`\br/>

*在gitiignore.gidie中添加新的想法。
`205<;https://github.com/pantsbuild/pex/pull/205>;`\br/>>
>*不要将版本号规范为名称。
>```/pull/205>;`\br/>

>>
*不要将版本号规范化为名称。
204<;https://github.com/pantsbuild/pex/pull/204>;` `

>
*更多关于windows的修补程序。
`202<;https://github.com/pantsbuild/pex/pull/202>;` ` `
>
*关于让pex在windows上工作的修补程序。
`198<;https://github.com/pantsbuild/pex/pull/pull/198>;` ` `>
>
1.1.2.2.2.2.2.1.2.2
----

*通气设置ls&wheel版本固定。
` 194<;https://github.com/pantsbuild/pex/pull/194>;`

*unescape html in pageparser.ref撸match撸u-to撸url.
`诈191<;https://github.com/pantsbuild/pex/pull/191>;`撸

*记住对crawler.crawl()的调用,以便在查找链接b中获得性能优势基于分辨率的分辨率。
`<;https://github.com/pantsbuild/pantsbuild/pex/pull/187>;`

>1.1.1
-

<>

``pex/u python``指向符号链接时的无限递归修复。
` ` ` ` ` 182<;https://github.com/pantsbuild/pex/pull/182>;` `


>
/>` ` ` ` ` ` `/etc/pex/pex/pexhub/www/rc``到pexrc l列表要检查的位置。
` ` ` 183<;https://github.com/pantsbuild/pantsbuild/pex/pull/183>;` `<

*改进平台约束不可翻译错误的错误消息传递。
` ` ` ` ` 179<;https://github.com/pantsbuild/pex/pull/179>;` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `一影响PEX环境的ES。请参见注释"here
<;https://github.com/pantsbuild/pex/blob/master/docs/buildingpex.rst在生成时定制pex执行>;`.
` 128<;https://github.com/pantsbuild/pex/pull/128>;` 154<;https://github.com/pantsbuild/pex/issues/154>;` ` ` `.

*向setuptools添加``bdist_-pex``命令。
` ` ` ` ` 99<;https://github.com/pantsbuild/pex/issues/99>;` ` ` ` ` `.

*错误修复:我们没有在``resolvableset``中规范化包名称,因此可以依赖于
``sphinx``和``sphinx-1.4a0.tar.gz``并获得两个版本的构建并包含在pex中。
` ` 147<;https://github.com/pantsbuild/pex/issues/147>;` ` `.

*添加一个pex标识用户代理。`#101<;https://github.com/pantsbuild/pex/issues/101>;` `.


1.0.3
----


*错误修复:容纳osx``python``python二进制文件。以前,osx python发行版随osx、xcode一起提供,可通过https://www.python.org/downloads/获得,但使用``pythonterpreter``类可能无法检测到。
修复` ` 144<;https://github.com/pantsbuild/pex/issues/144>;` `。

*错误修复:pex脚本f当脚本来自非zip安全的egg时出错。
原始pr`139<;https://github.com/pantsbuild/pex/pull/139>;` ` ` ` ` ` ` `.

*错误修复:``sys.exit``调用时不带参数将导致从pex 1.0.1开始在stderr上打印'none'。
` ` ` ` ` ` 143<;https://github.com/pantsbuild/pex/pull/143>;`.

>1.0.2
----


*错误修复:PEX-INFO值由环境中未显式设置的默认值"variables"重写。
修复` 135<;https://github.com/pantsbuild/pex/issues/135>;` `.

*错误修复:自696年以来49c1<;https://github.com/pantsbuild/pex/commit/69649c1>;``我们一直在解除``pex.execute``之后的``sys.modules``的副作用。这将接受在pex生命周期期间导入的所有模块,并将它们的所有属性设置为"none"。不幸的是,``sys.excepthook``,
``atexit``和`````udu del``可能仍然试图使用这些受污染的模块进行操作,导致解释器拆卸时出现异常。这只会还原"sys"取消修补,以便上述
可拆卸挂钩的行为更加可预测。
修复了"141"<;https://github.com/pantsbuild/pex/issues/141>;`.


1.0.1
----


*允许pexbuilder有选择地将文件复制到pex环境,而不是硬链接它们。

*允许pexbuilder有选择地跳过将.py文件预编译到.pyc文件。

*错误修复:pexbuilder在将源代码编译为字节码时不尊重目标解释器。
修复127<;https://github.com/pantsbuild/pantsbuild/pex/issues/127>;` ` ` ` ` `.

*错误修复:修复使用缓存时复杂的解决方案。
修复:` ` ` ` `<;https://github.com/pantsbuild/pex/issues/120>;` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `now takes requirements.txt文件
inst作为需求规范的一部分,"pex-s"现在已经被删除,因为源规范被接受为参数,
和"pex-p"已经被删除,取而代之的是它的别名"pex-o"。

pex*命令行接口*现在遵循semver,因为向后不兼容的cli
更改将调用主要版本更改。对pex
环境变量语义的任何向后不兼容的更改也将导致重大的版本更改。只要向后不兼容的API更改将调用较小的版本更改,PEX*API*就与Semver保持一致。


对于PEX API的用户,建议添加较小的版本范围,例如``pex>;=1.0,<;1.1``。
对于PEX CLI的用户,主要的版本范围,如``pex>;=1,<;2``就足够了。

*中断更改:删除`-s``选项,以便将目录直接指定为pex命令行的
参数。

*中断更改:``pex-r``现在接受requirements.txt文件名,*不接受*requirement
规范。需求规范现在作为参数传递给pex工具。使用`--``来转义传递给pex生成的解释器的
命令行参数。实现
` 5<;https://github.com/pantsbuild/pex/issues/5>;` ` ` `.

*添加一些标志别名,以便与PIP命令行更兼容:`--无索引`,
` `-f`,`--查找链接`,`--索引URL `,`--不使用控制盘`。删除`-p``以独占方式支持
`-o`。

*将`--python shebang``选项添加到pex工具中,以便设置```!``精确到一条路径。`#53<;https://github.com/pantsbuild/pex/issues/53>;`` ux.

*添加了对``pex python``环境变量的支持,该环境变量将导致pex文件使用指定的解释器重新调用自己,例如``pex python=python3.4``或
``pex python=/exact/path/to/interpreter``。`#27<;https://github.com/pantsbuild/pex/issues/27>;`` ux.

*增加了对``pex_path``环境变量的支持,允许在
运行时合并pex环境。这可用于将插件或入口点或模块从一个pex注入到另一个pex中,而无需显式地将它们构建在一起。`#30<;https://github.com/pantsbuild/pex/issues/30>;` `.

*整合了``pex ``环境变量的文档,并将`--help variables``选项
添加到pex客户端。部分地址` 13<;https://github.com/pantsbuild/pex/issues/13>;` `.

*添加helper方法以从压缩的pex文件中将包子目录转储到磁盘。这对于知道它们在pex中运行并且希望将一些静态资产转储到磁盘而不是作为解压缩的pex文件运行的应用程序非常有用。
` ` 12<;https://github.com/pantsbuild/pex/pull/12>;`。

*现在支持静态url和可安装目录的附加功能。
` 65<;https://github.com/pantsbuild/pex/issues/65>;` ` `.

*在
PEX工具中的现有入口点`-e``选项中添加了`-m``和`--entry point``别名,以唤起与``python-m``的相似性。

*通过`-c/--script/--console script`和``pex`script``添加控制台脚本支持。这允许您引用指定的entry点而不是确切的"module:name"对。同时也支持setup.py.py.中setup.py.
`59<;https://github.com/pantsbuild/pex/issues/59>;`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` X U剖面图e``在引发systemexit时未正确运行。
修复了` 81<;https://github.com/pantsbuild/pex/issues/81>;` ` `.

*错误修复:修复了pex工具中的缓存,因为我们不缓存可安装的
目录的源发行版。`#24<;https://github.com/pantsbuild/pex/issues/24>;` `.

<0.9.0
----


>这是1.0.0开发分支启动前的最后一个版本。

*通过处理入口点更改,将setuptools范围更改为>;=2.2,<;16,并对"pkg资源"是包还是模块灵活。

55<;https://github.com/pantsbuild/pantsbuild/pex/issues/55>;` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `>``控制台script``入口点。修复了` 48<;https://github.com/pantsbuild/pex/issues/48>;`

*新功能:向``pex`'工具添加解释器缓存。如果用户没有显式地禁用wheel特性并尝试使用wheels构建一个pex,但没有安装wheel,pex将下载它以使该特性正常工作。
实现` ` 47<;https://github.com/pantsbuild/pex/issues/47>;` ` `,以便
修复` 48<;https://github.com/pantsbuild/pex/issues/48>;``u

>0.8.6
----

*错误修复:尊重pex teardown中已安装的sys.excepthook。
`rb 1733<;https://rbcommons.com/s/twitter/r/1733>;```u

*错误修复:``urllibcontext``使用了'`replace``作为'`bytes.decode`
的关键字参数,但这仅适用于python 3。`拉拔请求46<;https://github.com/pantsbuild/pex/pull/46>;` `

<0.8.5
-
-



>
*错误修复:修复pex/bin/pex.py中的pex/bin/pex.py中的字符串格式,以支持python 2.6
`拉拔请求40<;https://github.com/pantsbuild/pex/pull/40>;`



>0.8.4
-
-<0.8.4
-

*性能改进:加快最佳方案o依赖关系解决方案。
`rb<;https://rb common s.com/s/twitter/r/1685>;`` `

*错误修复:从``uuid4().get ``u hex()``改为``uuid4().hex``以维护python3的兼容性
pex.common的兼容性。
`pull-request 39<;https://github.com/pantsbuild/pex/pull/39>;` ` ` ` ` ` ` ` ` ` ``uuid4().hex().hex` ` ` ` ` ` `*错误修复:实际缓存trans的结果表示。以前的bdist翻译
将在临时目录中创建,即使指定了缓存位置也不例外。
`rb 1666<;https://rbcommons.com/s/twitter/r/1666>;`

*错误修复:在确定平台
兼容性时支持所有可能的abi标记排列。
`pull-request 33<;https://github.com/pantsbuild/pex/pull/33>;`

>0.8.3
----

*性能改进:如果包已被缓存,则不要总是将其写入磁盘。这可以显著加快启动具有大量非zip安全依赖项的pex文件的速度。
`rb 1642<;https://rb common s.com/s/twitter/r/1642>;`

<0.8.2
----


*错误修复:允许pex 0.8.x解析由早期版本的
pex和twitter.common.python生成的pex文件。

9.x之前的工具,直到我们有机会对pep440和pkg_resources.py包进行更改。


0.8.1
----


*错误修复:修复在远程"link"objec上可能出现"os.path.getmtime"的问题t
`问题29<;https://github.com/pantsbuild/pex/issues/29>;`

<0.8.0
----

**api change*:将翻译与包迭代分离。这将完全删除
获取者构造,这可能意味着如果您使用pex作为
库,那么如果您做了任何非平凡的
操作,则需要更改代码。这为"resolve"添加了两个新选项,但简化了如何缓存包的故事。
`rb 785<;http s://rbcommons.com/s/twitter/r/785/>;`觕

*重构pex中的http处理以允许替代http实现。添加对"请求"https://github.com/kennethritz/requests>;``的支持,提高性能和安全性。有关详细信息,请阅读
`91c7f32<;https://github.com/pantsbuild/pex/commit/91c7f324085c18af714d35947b603a5f60aeb682>;` ` ` ` `.
`rb ` ` 778<;https://rbcommons.com/s/twitter/r/778/>;` ` ` ` ` `<
*对整个api文档的改进。

*重命名为``tracer`` to``tracelogger``防止不确定的isort排序。

*重构tox.ini以增加环境组合的数量并提高覆盖率。

*添加对requestscontext的http重试支持。
`rb 1303<;http s://rbcommons.com/s/twitter/r/1303/>;`

*使PEX——版本正确。
`issue 19<;https://github.com/pantsbuild/pex/issues/19>;`

*错误修复:修复攻击性sys.modules清理命名空间包。在
某些情况下,站点包中的命名空间包可能与pex中的包发生冲突,导致导入失败。
`rb 1378<;https://rbcommons.com/s/twitter/r/1378/>;`角

*错误修复:将"os.unsetenv(…)`"的用法替换为"del os.environ"…。.]``
`拉取请求11<;https://github.com/pantsbuild/pex/pull/11>;`

*错误修复:根据提供的路径和文件和目录的实际路径清理sys.path和sys.modules。Linux Symlink站点包上的较新版本的VirtualEnv
,这导致无法正确从sys.path中删除这些包。
`issue 21<;https://github.com/pantsbuild/pex/issue s/21>;`

*错误修复:pex-s选项未能正确引入可传递依赖项。
`issue 22<;https://github.com/pantsbuild/pex/issues/22>;``u

*错误修复:将"content"方法添加到执行HTML内容解码的HTTP上下文中,修复
仅在使用Python3时遇到的编码问题。
`issue 10<;https://github.com/pantsbuild/pex/issues/10>;`

>0.7.0
----

*将``twitter.common.python``重命名为``pex``并从
`twitter/common s<;http://github.com/twitter/commons>;``repo.

>0.6.0
----

*将``-i``的解释(以及pypifetcher的pypi库的解释)更改为maTCH PIP是"我"。这对于与devpi的兼容性很有用。

>0.5.10
----


*确保磁盘上的.egg/.whl发行版的mtime被更新,即使我们不再覆盖它们。这为他们提供了一个新的时间
根据他们的TTL租约。

sue其中sourcetranslator将覆盖磁盘上已有的.egg/.whl
发行版。相反,它应该始终检查
副本是否已经存在,如果存在则重新使用。

这通常不应该是问题,但是zipimporter会按文件名而不是stat/sha缓存
元数据,因此如果基础内容
更改,则会由于每个损坏的zip文件
偏移量。` rb 684<;https://rbcommons.com/s/twitter/r/684/>;`

>0.5.8
----


*添加``-i/--index``选项到pex工具。

>0.5.7
----

*在
中添加"twitter.common.python.pex-bootstrap```` bootstrap-pex-env``函数,以便从python解释器中初始化pex环境。
(补丁由@kwlzn提供)

*将stdin=,stdout=,stderr=关键字参数添加到"pex.run``函数中n.
(补丁自@benjy@benjy)


>0.5.6
----


*由于安全原因,爬虫现在默认不跟踪链接。
(在默认行为之前,默认行为是隐式地``--跟踪链接``以满足所有
的要求。)`rb\293<;https://rbcommons.com/s/twitter/r/293/r/293/>;` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `>
>0.5.5.5.5
>>>>
擦洗来自PEX环境的站点包。
`rb 289<;https://rbcommons.com/s/twitter/r/289/>;`

0.5.1-0.5.4
----

*0.4.3引入的解释器拆卸期间报告的静默异常(异常
是由于不正确的atexit处理程序行为导致的)
`rb 253<;https://rbcommons.com/s/twit/R/253/>;``````````````````````````````````````链接``链接``链接``链接`````````````````````````````````````````````````````````````````````链接``链接``链接````链接``链接``链接``链接``链接``链接``链接``链接```````````````````````````common.python``
`rb 94<;https://rb common s.com/s/twitter/r/94/>;` ``
`r b'154<;https://rbcommons.com/s/twitter/r/154/>;` `
`rb'148<;https://rbcommons.com/s/twitter/r/148/>;` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `/>-在.zip中查找鸡蛋-在目录中查找轮子
-在一个.zip
`rb 86<;https://rbcommons.com/s/twitter/r/86/>;`

>
*通过将链接重构到链接和包中,添加了一个新的包抽象,通过将链接重构到链接和包中,添加了一个新的包抽象。
`rb 92<;https://rbcommons.com/s/twitter/r/92/>;`
>
*增加了对车轮支持所必需的pep425标记的支持。
`rb
`rb 87<;https;https://http://https 87<;https://rbcommons.com/s/twitter/r/87/>;``u

*通过通过nspkg pth文件正确地清除注入模块```uu path``属性中的命名空间
包,改进了python环境隔离。
`rb`116<;https://rbcommons.com/s/twitter/r/116/>;``u

*添加了处理
传输的``twitter.common.python.resolver``` resolve``方法我的依赖性解决更好。这意味着,如果
要求"futures==2.1.2"和不合格的"futures>;=2"以传递方式拉入
,那么我们的解析器将正确地解析futures 2.1.2,而不是
报告版本冲突(如果2.1.2之后的任何版本可用)。` 129<;https://rbcommons.com/s/twitter/r/129/>;``````twitter.common.python``把所有``twitter.common.python``把帮助程序测试到
```twitter.common.python.testing```````br/>`r b.91<;https://rbcommons.com/s/twitter/r/91/>;````````````````````````````````````````````````````````````````` twitter/r/r/91/>;`<;https://rbcommons.com/s/twitter/r/147/>;`\r/>
>
*bug fix:修复跨设备符号链接(补丁来自@benjy@benjy)

>
*bug fix:如果无法将"pkg资源"写入.pex
`rb'115<;https://rb common s.com/s/twitter/r/115/>;`.pex

>
>
>

>




*升级到``setuptools>;=1`



0.4.1
----

*``twitter.common.python``不再是命名空间包


0.4.0
----

*杀死蛋蒸馏器。现在,我们将.egg生成委托给bdist-egg。将.egg生成委托给bdist-egg。http://rbcommons.com/s/twitter/r/55/>;`

<0.3.1
-


*如果找到一个本地完全匹配的匹配结果,则短路解析一个分布。
`rb-47<;https://rbcommons.com/s/twitter/r/47/>;`


*正确修补全局``pkg;正确修补全局``pkg。u资源```工作集``在python解释器的生命周期内。` rb 52<;https://rbcommons.com/s/twitter/r/52/>;`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `-

*垂直穿过`--zip safe``,`--always write cache``、``--ignore errors`
和`--inherit path``标志到pex工具。

*删除未使用的``pythondirwrapper``代码。

*将``pex environment``分辨率拆分成``twitter.common.python.environment``
并取消``workingset`/`` environment``状态。

*删除f中的monkeypached zipimporter避免将所有鸡蛋
解压缩到pex文件中。重构
``util.py`

*中的PEX依赖项缓存添加Jython和Pypy的解释程序检测。

*依赖项转换错误应统一。
(来自@johnsirois的修补程序)

*添加"PEX配置文件"项以限制启用
``PEX配置文件`时报告的项数。(来自@rgs_u的修补程序)

*错误修复:对"twitter.common.python.http``
(来自marc abramowitz)中的错误处理的多个修复程序

*错误修复:pex不应总是假定"`$path`"可用。
(来自@jamesbroadhead的修补程序)

*错误修复:文件名应该是.pex缓存密钥的一部分,否则多个
相同的version将无法正确解析(来自@tc的修补程序)

*错误修复:不应强制执行的入口点在启用"未来"导入的
环境中运行。(补丁来自
@lawson_patrick)

*错误修复:检测无版本的鸡蛋链接并快速失败。(来自
@johnsirois的补丁)在zipimpport-monkeyppatch
(来自@johnsirois的补丁)的zipimpport-monkeyppatch
(来自@johnsirois的补丁)中,错误修复:handlesetsetuptootools>;=2.1正确的安装在zipimpport-monkeyppatch


*错误修复:修复用``file://``url的方式处理取取数器。


<0.2.2
>






*将pex工具作为一个独立工具添加到pex工具中。




----

*错误修复:引导的``twitter.common.python``应将``twitter.common``
声明为命名空间包。

>0.2.0
----


*通过将外部依赖项合并到``twitter.common.python.common``中,使``twitter.common.python``完全独立。

-

*初始发布版本"twitter.common.python"的

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java更改WSO2 IS证书会导致登录失败   安卓 Java随机行读取   JavaJComboBox留下了一条线索   用于嵌套对象的java Jasper报告   java动态生成Id值时,如何检索复选框的值   “拼接(a,b,…”的Java等价方法在JavaScript方法中   java在有子面板的jPanel上绘图   java生成时,在包“安卓”中找不到属性“text color”的资源标识符   java如何使用maven插件正确地构建Spring引导远jar?   readUTF中的java EOFEException   在Java中,按星期一到星期天进行排序   java MultiFormatReader无法读取qr,尽管qr是可扫描的   替换java字符串中未知数量的值   java将MySQL连接到Apache nutch   Java从3个不同的枚举中获取随机值   java我需要将多个JRadioButtongGroup和一个jcombobox连接到一个jbutton   java Android sqlite异常。无法实例化活动   如何使用单流创建Map<String,List<Long>>Java8?