Skip to content

Instantly share code, notes, and snippets.

@kargaranamir
Created September 3, 2021 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kargaranamir/a3c3623035c8528789d829fc0053d9a3 to your computer and use it in GitHub Desktop.
Save kargaranamir/a3c3623035c8528789d829fc0053d9a3 to your computer and use it in GitHub Desktop.
setup.py to install cpython extention xxx.so
from distutils.core import setup
setup (name = 'xxx',
version = '1.0',
author = "author_xxx",
description = """Desciption""",
py_modules = ["xxx"],
packages=[''],
package_data={'': ['_xxx.so']},
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment