[Scons-users] Scons and parts

Jason Kenny dragon512 at live.com
Fri Aug 11 12:54:22 EDT 2017


Hi,

Parts is at https://bitbucket.org/sconsparts/parts



If you have questions feel free to let me know



Jason









From: Pico Geyer<mailto:picogeyer at gmail.com>
Sent: Friday, August 11, 2017 10:34 AM
To: SCons users mailing list<mailto:scons-users at scons.org>
Subject: [Scons-users] Scons and parts



Hi all.

We have a scons build system that has grown rather large.
One particular subproject has to generate many many object files.
Scons is now getting quite slow just to complete reading all the
Sconscript files.
I remember reading that the parts project
(http://parts.stage.tigris.org/) could help break the project into
smaller components and thus keep scons' running time under control
when we're not trying to build the massive project anyway.

Unfortunately it doesn't look like the parts project has been updated
in long time and the latest version from svn seems like it doesn't
work with the latest scons:
AttributeError: 'module' object has no attribute '_semi_deepcopy_inst':
  File "/home/pico/work/dev/sconstest/parts/SConstruct", line 1:
    from parts import *
  File "/usr/lib/python2.7/site-packages/parts/__init__.py", line 7:
    from main import *
  File "/usr/lib/python2.7/site-packages/parts/main.py", line 8:
    import common
  File "/usr/lib/python2.7/site-packages/parts/common.py", line 62:
    g_base_env= SCons.Script.Environment(tools=[])
  File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 919:
    self._dict = semi_deepcopy(SCons.Defaults.ConstructionEnvironment)
  File "/usr/lib/python2.7/site-packages/SCons/Util.py", line 474:
    return copier(x)
  File "/usr/lib/python2.7/site-packages/SCons/Util.py", line 459:
    copy[key] = semi_deepcopy(val)
  File "/usr/lib/python2.7/site-packages/parts/env_overrides.py", line 230:
    return SCons.Util._semi_deepcopy_inst(x)

Does anyone know if Parts will still be maintained?

Best regards,
Pico
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://pairlist4.pair.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170811/69fb5587/attachment.html>


More information about the Scons-users mailing list