扩展到剥离二进制文件。

slapos.extension.strip的Python项目详细描述


剥离二进制文件的构建扩展

slapos.extension.strip是一个发现共享 库、二进制可执行文件和静态库以及调用strip(1) 反对他们缩小规模。它在 构建过程。

使用量

[buildout]节的extensions选项中添加slapos.extension.strip,如:

[buildout]
extensions = slapos.extension.strip

要求

需要以下程序。如果有人失踪了,这个 分机什么也不做。

  • file
  • find
  • strip

支持的选项

file-binary

Path to ^{tt4}$ program. Defaults to ‘file’ which should work on any system that has the make program available in the system ^{tt9}$.

find-binary

Path to ^{tt5}$ program. Defaults to ‘find’ which should work on any system that has the find program available in the system ^{tt9}$.

strip-binary

Path to ^{tt6}$ program. Defaults to ‘strip’ which should work on any system that has the strip program available in the system ^{tt9}$.

do-not-strip-path

A new-line separated list of absolute paths of the files you do not want to strip. Do not refer a section to get its location. If you do like ${bazel:location}/bin/bazel, buildout will not work correctly. Instead do like ${buildout:parts-directory}/bazel/bin/bazel.

An example:

[buildout]
do-not-strip-path =
  ${buildout:parts-directory}/bazel/bin/bazel
  ${buildout:parts-directory}/anotherparts/bin/dontstripbinary

更改

0.4(2017-06-06)

  • 修复manifest.in:缺少一些文件。

0.3(2017-06-05)

  • 添加对Python3的支持

0.2(2017-01-19)

  • 添加不删除路径选项。

0.1(2014-10-22)

  • 初次发布。

下载

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

推荐PyPI第三方库


热门话题
java解析分数   xslt捕获java中的xsl:message输出   java Spring安全性:手动恢复默认配置   考虑到夏令时,java是比较Hibernate和Oracle日期的正确方法   java如何将主线程与创建的工作线程连接?   java Intellij无法导入Gradle项目,因为存在代理   解析如何在Java中使用String对象解析输入   javajavax。邮政AuthenticationFailedException:535身份验证失败(#5.7.1)   java MouseMotionListener:鼠标和触控板给出不同的结果   MBean的java SNMP监控(snmpadaptor.sar中的attributes.xml)(JBoss)   java以特定的时间间隔刷新令牌以供API使用   Android中的正则表达式是否与Java中的正则表达式相同?   java在以“我的应用”身份打开应用时获取文件路径   java将变量从valuechanged方法传输到actionperformed   java PDF“保存”旋转?   Android Studio、Java、TextView不反映我编写的代码