From c1ee0b38892206aba969d59fddc1dffa46d3e4c6 Mon Sep 17 00:00:00 2001 From: "V. Armando Sole" Date: Mon, 6 Jul 2015 14:29:15 +0200 Subject: [PATCH] Deal with different ordering as function of platform. --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 34cb07b5b..d57a73075 100644 --- a/setup.py +++ b/setup.py @@ -963,6 +963,9 @@ def run(self): print("WARNING: Could not delete file. Assuming up-to-date.") if not os.path.exists(multiple_pyx): pyx = glob.glob(os.path.join(cython_dir, "*pyx")) + # We have to put the name PyEPDL prior to PyElement + # irrespectively of the platform + pyx = sorted(pyx, key=str.lower) f = open(multiple_pyx, 'wb') for fname in pyx: inFile = open(fname, 'rb')