Skip to content

Commit 3bb9aca

Browse files
authored
Merge pull request xflux-gui#9 from doc75/fix_setup
fix setup by copying xflux32 or xflux64 instead of renaming them. Closes xflux-gui#8.
2 parents f5eb108 + ce90cc5 commit 3bb9aca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
from distutils.core import setup
44
from sys import maxsize
5-
from os import rename
5+
from shutil import copy
66

77
# Determines which is the appropriate executable for 32-bit
88
if maxsize == 2147483647:
9-
rename("xflux32", "xflux")
9+
copy("xflux32", "xflux")
1010
# ... or 64-bit processors
1111
elif maxsize == 9223372036854775807:
12-
rename("xflux64", "xflux")
12+
copy("xflux64", "xflux")
1313

1414
setup(name = "f.lux indicator applet",
1515
version = "1.1.8",

0 commit comments

Comments
 (0)