from distutils.core import setup, Extension
from glob import glob

module1 = Extension('hashpumpy',
                    sources = glob('*.cpp'),
                    libraries = ['crypto'])

setup (name = 'hashpumpy',
       version = '1.0',
       author      = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
       description = 'Python bindings for HashPump',
       data_files  = glob('*.h'),
       ext_modules = [module1],
       license     = 'MIT',
       url         = 'https://github.com/bwall/HashPump')

from distutils.core import setup, Extension
from glob import glob

module1 = Extension('hashpumpy',
                    sources = glob('*.cpp'),
                    libraries = ['crypto'])

setup (name = 'hashpumpy',
       version = '1.0',
       author      = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
       description = 'Python bindings for HashPump',
       data_files  = [('include', glob('*.h'))],
       ext_modules = [module1],
       license     = 'MIT',
       url         = 'https://github.com/bwall/HashPump')

Install header files to include/
Install header files to include/

  from distutils.core import setup, Extension
  from glob import glob
  
  module1 = Extension('hashpumpy',
                      sources = glob('*.cpp'),
                      libraries = ['crypto'])
  
  setup (name = 'hashpumpy',
         version = '1.0',
         author      = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
         description = 'Python bindings for HashPump',
-        data_files  = glob('*.h'),
+        data_files  = [('include', glob('*.h'))],
         ext_modules = [module1],
         license     = 'MIT',
         url         = 'https://github.com/bwall/HashPump')
  
Install header files to include/
## Code Before:
from distutils.core import setup, Extension
from glob import glob

module1 = Extension('hashpumpy',
                    sources = glob('*.cpp'),
                    libraries = ['crypto'])

setup (name = 'hashpumpy',
       version = '1.0',
       author      = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
       description = 'Python bindings for HashPump',
       data_files  = glob('*.h'),
       ext_modules = [module1],
       license     = 'MIT',
       url         = 'https://github.com/bwall/HashPump')

## Instruction:
Install header files to include/
## Code After:
from distutils.core import setup, Extension
from glob import glob

module1 = Extension('hashpumpy',
                    sources = glob('*.cpp'),
                    libraries = ['crypto'])

setup (name = 'hashpumpy',
       version = '1.0',
       author      = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
       description = 'Python bindings for HashPump',
       data_files  = [('include', glob('*.h'))],
       ext_modules = [module1],
       license     = 'MIT',
       url         = 'https://github.com/bwall/HashPump')
