Skip to content

Commit 21b1b01

Browse files
committed
🙏 lon g-> long long for int64 storage
1 parent 51a1d3f commit 21b1b01

File tree

2 files changed

+7
-562
lines changed

2 files changed

+7
-562
lines changed

build.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,16 @@ class ExtBuilder(build_ext):
4343
def run(self):
4444
try:
4545
build_ext.run(self)
46-
except (DistutilsPlatformError, FileNotFoundError):
47-
print(
48-
" Unable to build the C extensions, "
49-
"Pendulum will use the pure python code instead."
50-
)
46+
except (DistutilsPlatformError, FileNotFoundError) as e:
47+
print(" Unable to build the C extensions.")
48+
raise e
5149

5250
def build_extension(self, ext):
5351
try:
5452
build_ext.build_extension(self, ext)
55-
except (CCompilerError, DistutilsExecError, DistutilsPlatformError, ValueError):
56-
print(
57-
' Unable to build the "{}" C extension, '
58-
"Pendulum will use the pure python version of the extension.".format(
59-
ext.name
60-
)
61-
)
53+
except (CCompilerError, DistutilsExecError, DistutilsPlatformError, ValueError) as e:
54+
print(' Unable to build the "{}" C extension, '.format(ext.name))
55+
raise e
6256

6357

6458
def build(setup_kwargs):

0 commit comments

Comments
 (0)