Skip to content

Instantly share code, notes, and snippets.

@xct

xct/setup.py Secret

Last active March 5, 2021 22:43
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 xct/3f267890067a7d73eb113553ef0b65ff to your computer and use it in GitHub Desktop.
Save xct/3f267890067a7d73eb113553ef0b65ff to your computer and use it in GitHub Desktop.
#!/usr/bin/python3
from distutils.core import setup, Extension
FloatToHexModule = Extension('FloatToHex',
sources = ['floattohexmodule.c'])
setup (name = 'FloatToHex',
version = '1.0',
description = 'Converts float to hex and back',
ext_modules = [FloatToHexModule])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment