Skip to main content

This is a pydpack.(pyd打包,可将py目录或文件打包成pyd(so))

Project description

pydpack

What is this?

  • by: axiner
  • pydpack
  • This is a pydpack.(pyd打包,可将py目录或文件打包成pyd(so))

Installation

This package can be installed using pip (Python>=3.11):

pip install pydpack

Usage

  • 1)help
    • pydpack -h
  • 2)pack
    • pydpack -s <py目录或文件> -e main.py
    • 注:
      • 自动跳过:init.py,空文件,只存在注释的文件,当然还有非py文件
      • 排除编译:正则表达式
        • 文件夹加正斜杠'/'即可,如:tests/, tests/a/
        • 多个则用'|'隔开,如:main.py|tests/
        • 项目的入口文件一般是不编译的,排除即可
      • 若编译不成功或编译后执行不成功:
        • 规范代码,确保代码的正确性与严谨性
        • 编译失败,Pyd目录下会保留对应的源文件
        • 执行环境,需要与编译时的环境一致
      • 输出:Pyd目录(默认源+Pyd),该目录与src结构一致

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydpack-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file pydpack-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pydpack-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for pydpack-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b23aeff4b8741d2d1c5e9e0b18e18bb7f7d6f55cdd7bc17cb68b4ee1acf1d6fa
MD5 4dccab3b9043afd40666a7be262e6ffe
BLAKE2b-256 74ed59ef341455f00d6b25a956e69cae3557b761a1298798a4dbe45902230556

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page