Skip to content

Commit

Permalink
allow pivoting without extra back-reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowJonathan committed May 11, 2024
1 parent 0052dae commit fb60f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Core/ClientSMLSWIG/Python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ requires = [
# and other python build/install frontends (such as pip itself).
#
# We use a forked version of enscons to add python 3.12 support.
"enscons @ git+https://github.com/ShadowJonathan/enscons-soar@08df06b",
"enscons @ git+https://github.com/ShadowJonathan/enscons-soar@9692b01",

# Required sub-dependencies of enscons.
"toml>=0.1",
Expand Down
4 changes: 1 addition & 3 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ try:
enscons_active = True
import toml
import enscons, enscons.cpyext

enscons.set_pyproject_dir("Core/ClientSMLSWIG/Python/")
except ImportError as e:
enscons_active = False

Expand Down Expand Up @@ -419,7 +417,7 @@ py_sources += [
env.Alias(SML_PYTHON_ALIAS + "_dev", py_sources)

if enscons_active:
env['PACKAGE_METADATA'] = enscons.get_pyproject()['project']
env['PACKAGE_METADATA'] = enscons.get_pyproject(env)['project']
env['WHEEL_TAG'] = enscons.get_binary_tag()

# Whl and WhlFile add multiple targets (sdist, dist_info, bdist_wheel, editable) to env
Expand Down

0 comments on commit fb60f6a

Please sign in to comment.