Skip to content

Commit

Permalink
Deal with different ordering as function of platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasole committed Jul 6, 2015
1 parent 6e0e05e commit c1ee0b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit c1ee0b3

Please sign in to comment.