Skip to content

Commit e36388f

Browse files
committed
DEV: silence warnings from egg_info in scons.
`setup.py egg_info` is run from scons to update package version. setup.py shows warnings when it cannot resolve boost_python name, but that is not relevant for the `egg_info` command.
1 parent 2d4c413 commit e36388f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/extensions/SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ version = pyoutput(
2828
'print(versiondata.get("DEFAULT", "version"))\n' % basedir)
2929
egginfo = env.Command(NoCache('#/src/diffpy.srreal.egg-info/PKG-INFO'),
3030
env.Value(version),
31-
'$python setup.py egg_info')
31+
'$python -Wignore setup.py egg_info')
3232

3333
# install extension module in a development mode.
3434
develop = Alias('develop', [egginfo, Install('#/src/diffpy/srreal', module)])

0 commit comments

Comments
 (0)