扩展到剥离二进制文件。

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为什么加载个人密钥库需要这么多时间?   当我使用main创建Android应用程序UI时,如何通过java修改它。xml文件?   java Tomcat 6和7:WebappClassLoader:尝试为名称org/apache/openjpa/persistence/osgi/BundleUtils复制类定义   java`parseInt()`和`parseDouble()`throw`NumberFormatExeption`   JavaSpringMongoDB填充引用   在LinuxMint中打开Eclipse时发生java错误;OpenJDK 64位服务器VM警告:忽略选项MaxPermSize=512m;支持在8.0中被删除   使用PKCS7Padding的AES CBC加密在Java和Objective中有不同的结果   java为什么Jackson要用一个以类命名的额外层来包装我的对象?   json在Java中使用parallelStream提取值   JavaSpring存储库自动生成方法:按给定的顶部编号+按字段描述排序选择   java是否有可序列化的标准闭包接口?   .NET与Java在初创公司的web应用程序开发   如何修复java。java中的lang.unsatifiedLinkError   JavaFX+Spring Boot+Hibernate应用程序对多个环境的java支持   自定义视图组中的java更改未呈现