Commit 1bebba1b authored by David Hendriks's avatar David Hendriks
Browse files

removed some lines

parent 6868dfe5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -7,8 +7,6 @@
 */

#include "binary_c_API.h"
// #include "binary_c.h"
// #include "binary_c_API_prototypes.h"

/* Binary_c's python API prototypes */
int run_system(char * argstring,
+4 −4
Original line number Diff line number Diff line
@@ -24,13 +24,13 @@ def license():
def check_version(installed_binary_c_version, required_binary_c_version):
    """Function to check the installed version and compare it to the required version"""
    message = """
    The binary_c version that is installed ({}) does not match the binary_c version ({}) 
    The binary_c version that is installed ({}) does not match any of the binary_c versions ({}) 
    that this release of the binary_c python module requires. 
    """.format(installed_binary_c_version, required_binary_c_version)
    assert installed_binary_c_version == required_binary_c_version, message
    assert installed_binary_c_version in required_binary_c_version, message

###
REQUIRED_BINARY_C_VERSION = '2.1.7'
REQUIRED_BINARY_C_VERSIONS = ['2.1.7']

####
GSL_DIR = os.getenv("GSL_DIR", None)
@@ -61,7 +61,7 @@ BINARY_C_VERSION = (
    .stdout.decode("utf-8")
    .split()
)
check_version(BINARY_C_VERSION[0], REQUIRED_BINARY_C_VERSION)
check_version(BINARY_C_VERSION[0], REQUIRED_BINARY_C_VERSIONS)

BINARY_C_INCDIRS = (
    subprocess.run(