setup.py 541 B

12345678910111213141516
  1. from distutils.core import setup, Extension
  2. def main():
  3. setup(name="ipinnet",
  4. version="0.1",
  5. license='GPLv3',
  6. description="C implementation to check if a given IP (IPv4 "
  7. "and IPv6) string exists is in a given network.",
  8. author="CYBERDEViL",
  9. author_email="cyberdevil@notabug.org",
  10. url='https://notabug.org/cyberdevil',
  11. ext_modules=[Extension("ipinnet", sources=["src/ipinnetmodule.c", 'src/ipinnet.c'])])
  12. if __name__ == "__main__":
  13. main()