Skip to content
/ py2so Public
forked from ArvinMei/py2so

编译py为so文件,更好的隐藏源码

Notifications You must be signed in to change notification settings

hyliker/py2so

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

py2so

编译py为so文件,更好的隐藏源码

准备工作

系统安装python-devel 和 gcc
Python安装cython

调用方式

编译某个文件夹:
  python py2so.py mydir_path

生成的文件

mydir_path/build文件夹下即为结果目录

验证

在 mydir_path/build/xxx 下使用ipython进入命令行,引用包即可

注意

如项目包含如main.py的启动文件,可将源文件copy至 build/下对应位置启动

About

编译py为so文件,更好的隐藏源码

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%