- 在setup.py中指定想要被编译的.py文件。
- 在version.py中指定包名和版本。
- 运行:
./build.sh
,会在dist文件夹下生成打包好的.tar.gz文件 - 清扫:
python clear.py
,删除中间过程生成的.c和.so文件。
-
Notifications
You must be signed in to change notification settings - Fork 2
sun1752709589/mypkg
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
使用cython将.py转为.c文件进而编译为.so文件,一般用于python源代码加密。
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published