Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Readd constants in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Aug 19, 2020
1 parent 8404a5d commit e9c06e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sage_setup/command/sage_build_cython.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ def finalize_options(self):
profile=self.profile,
)
self.compile_time_env = dict(
PY_PLATFORM=sys.platform
PY_PLATFORM=sys.platform,
# The following two constants are here only for backwards compatibility of user packages
PY_VERSION_HEX=sys.hexversion,
PY_MAJOR_VERSION=sys.version_info[0]
)

# We check the Cython version and some relevant configuration
Expand Down

0 comments on commit e9c06e3

Please sign in to comment.