Files
CoolProp/dev/pseudo-pure/Helmholtz/setup.py
Matthis Thorade 526cb198a4 autopep8 whitespace (#1613)
* autopep8 whitespace only:

--select="E101,W1,W2"

* revert single file: web2py_online.py

Should this be a .py file at all?

* revert file Tickets/1443.py because the diff looked strange:

maybe there is an encoding problem?

* Rename web2py_online.py to web2py_online.rst
2017-12-12 08:32:38 -07:00

26 lines
810 B
Python

from distutils.core import setup, Extension
import subprocess,shutil,os,sys
sys.argv += ['build_ext','--inplace','--reswig']
if '--reswig' in sys.argv:
import subprocess
subprocess.check_output(['swig','-python','-outcurrentdir','-c++','-I../../../CoolProp','Helmholtz.i'])
sys.argv.remove('--reswig')
commons = dict()
helm_module = Extension('_helmholtz',
sources=['Helmholtz_wrap.cxx', '../../../CoolProp/Helmholtz.cpp', '../../../CoolProp/CoolPropTools.cpp'],
**commons
)
setup (name = 'EOSTerms',
version = '0.0.0',
author = "Ian Bell",
author_email = 'ian.h.bell@gmail.com',
description = """ helmholtz energy terms for EOS fitting """,
ext_modules = [helm_module],
)