mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
fcc41721fd
************* Module sodium_grabber_installer pkg/smartos/esky/sodium_grabber_installer.py:16: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment sources = [path.join(HERE, 'sodium_grabber.c')], ^ pkg/smartos/esky/sodium_grabber_installer.py:17: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment libraries = ['sodium'], ^
24 lines
519 B
Python
Executable File
24 lines
519 B
Python
Executable File
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
'''
|
|
The setup script for sodium_grabber
|
|
'''
|
|
|
|
# pylint: disable=C0111,E1101,E1103,F0401,W0611
|
|
|
|
from distutils.core import setup, Extension
|
|
from os import path
|
|
|
|
HERE = path.dirname(__file__)
|
|
|
|
SETUP_KWARGS = {}
|
|
sodium_grabber = Extension('sodium_grabber',
|
|
sources=[path.join(HERE, 'sodium_grabber.c')],
|
|
libraries=['sodium'],
|
|
)
|
|
SETUP_KWARGS['ext_modules'] = [sodium_grabber]
|
|
SETUP_KWARGS['name'] = "sodium_grabber"
|
|
|
|
if __name__ == '__main__':
|
|
setup(**SETUP_KWARGS)
|