Commit Graph

223 Commits

Author SHA1 Message Date
Ian Bell
3c65678a8d Fix python wrapper code
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-07 15:23:16 -07:00
Ian Bell
1693b19a81 Fixed bug in HighLevelAPI.rst by a slightly better error message in PropsSI
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-07 15:15:28 -07:00
Ian Bell
3d68475e6b Merge branch 'master' of https://github.com/coolprop/coolprop 2015-01-04 22:33:37 -05:00
Ian Bell
abac4e57d0 Nicer warning message if constants.so|py|dylib cannot be removed by python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-04 22:33:06 -05:00
Jorrit Wronski
c60ee1d567 This is a preliminary fix for the issue #387 because I need the code. I hope this does not break things for others. 2015-01-04 16:15:04 +01:00
Ian Bell
5db8338ceb Make import of _constant be absolute import for py3.x; See #388
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-04 00:36:07 -05:00
Ian Bell
85bc6c9df8 Fix up the mathematica docs; closes #382
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-01 16:13:52 -05:00
Ian Bell
984a8f98d7 Make the REFPROP plots work
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-01 01:57:00 -05:00
Ian Bell
5fe46a0a1e Fixed mathematica wrapper for windows
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-01 05:09:44 +01:00
Ian Bell
6eb01dd41b Return a numpy array from PropsSI in python again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-31 18:13:21 -05:00
Ian Bell
e43301facb Fix typo in __init__.py
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-31 17:09:21 -05:00
Ian Bell
9bbcb782d0 Fix python cleanup code
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-31 17:01:53 -05:00
Ian Bell
bd1e045a32 Make pip install more verbose; remove constants shared library if needed
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-31 16:47:16 -05:00
Ian Bell
335c615bce Fix error handling in ConsistencyPlot.py; See #370 2014-12-31 20:41:31 +01:00
Ian Bell
5de4f77d58 Bump the minimum temperature just a bit to get consistency plots to all build; See #370 2014-12-31 12:31:27 -05:00
Ian Bell
f8576b1d49 PropsSImulti is integrated into Python wrapper; extract_fractions is exported
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 20:08:35 -05:00
Ian Bell
7fd56e5f78 Fix EES wrapper again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 18:17:50 -05:00
Ian Bell
bb11d34a20 Bubble errors properly for EES wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 18:15:44 -05:00
Ian Bell
97124b1481 Fixed EES builder and expose extract_backend
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 18:03:23 -05:00
Ian Bell
9958bd47d8 Merge branch 'master' into vectorize_PropsSI 2014-12-30 17:44:55 -05:00
Ian Bell
369fa6c1f2 sdist preparation works again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:44:08 -05:00
Ian Bell
492de3edeb Merge branch 'master' into vectorize_PropsSI 2014-12-30 17:39:35 -05:00
Ian Bell
016bfcfc7e Call the generate constants module script when generating sdist for pypi
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:38:37 -05:00
Ian Bell
6bb87e192a Fixed the constant module generation again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:18:45 -05:00
Ian Bell
8df53bc632 Fix bug with enum values that are specified
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:14:54 -05:00
Ian Bell
5c87d684de Fix failing py 3.x builds thanks to constants generation script by removing filter call
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-26 01:32:21 -05:00
Ian Bell
ac42616e60 Fix bug with generate_constants_module.py
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 15:26:45 -05:00
Ian Bell
1a7e411546 Expose the functions first_saturation_deriv and second_saturation_deriv through the cython interface
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 14:05:22 -05:00
Ian Bell
c50a4f6494 Automatically generate the enum keys for Python. Maybe helps with pydev issue; See #367
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 12:09:25 -05:00
Ian Bell
c2047e4162 Define get_mixture_binary_pair_data as extern in DataStructures.h in order to allow linking CoolProp and PDSim
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 11:17:14 -05:00
Ian Bell
c74317c3ae Revert changes of @squoilin to Julia wrappers
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-22 15:15:22 -05:00
squoilin
34ad12f312 Fixed bug in the Julia wrapper, updated documentation for Linux users 2014-12-21 18:03:47 +01:00
Jorrit Wronski
6cbfc9efac Added the new include folder to the Python builder 2014-12-19 15:47:58 +01:00
Ian Bell
8b3586fe11 Added wrapper code for Julia module; See #304
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-18 18:21:07 -06:00
Ian Bell
87365ad5f8 One more try with excel 64-bit
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-12 00:09:44 -05:00
Ian Bell
a6caaff87a Fixed one path in xlam where it should have been CoolProp_x64.dll instead of CoolProp.dll
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-11 00:25:16 -05:00
Ian Bell
6b028024e9 Fix OSX wrapper for Excel on OSX 10.10? See #331
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-10 13:32:15 -05:00
Ian Bell
5fe24de11f Fixed two aliases for 64-bit excel - closes #331
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-10 09:40:54 -05:00
Ian Bell
31c34e5282 Fixed xlam to return HAPropSI values correctly.
Closes https://github.com/CoolProp/CoolProp/issues/288

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-06 16:18:42 -05:00
Ian Bell
c54e2d1c2e Re-implement HAPropsSI in Excel, fix naming alias HAProps->HAPropsSI
See also https://github.com/CoolProp/CoolProp/issues/288

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-05 15:07:27 -05:00
Ian Bell
93305f0413 Added MathCAD support and docs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-04 21:07:37 -05:00
Ian Bell
99810eabf1 Python setup script shows call to cmake build
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-04 15:47:42 -05:00
Ian Bell
5b50fa934d Log scale densities for consistency Plots
Closes https://github.com/CoolProp/CoolProp/issues/275

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-03 14:22:06 -05:00
Ian Bell
3e255e263e Expose gas_constant through python wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 22:08:27 -05:00
Ian Bell
3c9f9c310a Removed call to set backend to TkAgg
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 18:06:20 -05:00
Ian Bell
d4898c3963 Added consistency plots to expensive docs.
Closes https://github.com/CoolProp/CoolProp/issues/235

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 12:07:18 -05:00
Ian Bell
e236d44989 Make python build script use g++ for CC and CXX 2014-11-25 21:19:12 +01:00
Jorrit Wronski
38b4348a7f Not all computers have a macversion, of course. 2014-11-25 19:41:08 +01:00
Jorrit Wronski
ba36fd903c Let us hope this fixes #246 ... something similar might have to be done in the cmake config files 2014-11-25 19:33:18 +01:00
Ian Bell
b844cc58a4 setup.py can use default compiler that cmake wants to use
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-24 14:57:21 -05:00