Boost logo

Boost :

Subject: Re: [boost] Modularized CMake-able Boost
From: Jarrad Waterloo (jwaterloo_at_[hidden])
Date: 2010-12-28 09:59:51

On 12/27/2010 4:38 PM, Dave Abrahams wrote:
> I still intend to produce useful results on this front in the next 120 days.

I am trying to use and install RYPPL and am having a problem. I followed
the instructions found at ''. When trying
to run, I get the error that there is no module named
distutils2 which I did install successfully. Besides wanting to have a
fix for this problem, is there any documentation or tutorial from the
end users perspective. An example of how to create a new dll project,
another dll project that depends upon the first dll project and finally
an executable project that depends upon them both would be great. The
problem is I am not an experienced Python programmer and as such don't
know the best practices. To compound matters, most web documentation is
on using PIP and disutils from the PHP programmer's perspective and not
for a C++ programmer. Consequently users like me need help from you C++
and Python veterans using these individual and combined technologies.
P.S. I have tried using Maven successfully for C++ but what it doesn't
provide [well] is the distribution of source. While it can build source
and handle dependencies, it distributes by default the deliverable
results. Maybe the previous example could show using PIP and disutils
with C++ and then how adding RYPPL ties them all together.

-------------------- Results of installing Distutils2 --------------------

C:\Python27\Scripts\pip install Distutils2 --upgrade
Downloading/unpacking Distutils2
   Downloading Distutils2-1.0a3.tar.gz (878Kb): 878Kb downloaded
   Running egg_info for package Distutils2

Installing collected packages: Distutils2
   Found existing installation: Distutils2 1.0a3
     Uninstalling Distutils2:
       Successfully uninstalled Distutils2
   Running install for Distutils2

Successfully installed Distutils2
Cleaning up...

-------------------- Results of trying to run test
ryppl\test\ --------------------

Checking for installed prerequisites in PATH: git ... cmake ... ok
Cleaning ... ok
Preparing test environment ...
    pip install virtualenv ... ok
    pip install --no-index -f nose
  ... ok
    pip install scripttest>=1.0.4 ... ok
ERROR: Failure: ImportError (No module named distutils2)
Traceback (most recent call last):
e-packages\nose\", line 390, in loadTestsFromName
     addr.filename, addr.module)
e-packages\nose\", line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
e-packages\nose\", line 86, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File "D:\Documents and Settings\JWATERLOO\My Documents\My
Source Code\ryppl\test\", line 16, in <module>
     import distutils2
ImportError: No module named distutils2

Ran 1 test in 0.140s

FAILED (errors=1)
Cleaning ... ok
Traceback (most recent call last):
   File "", line 130, in <module>
     main( sys.argv[1:] )
   File "", line 121, in main
     run( *test_cmd )
   File "", line 12, in run
   File "C:\Python27\lib\", line 504, in check_call
     raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command
'--exe', '-w',
Path(u'D:\\Documents and Settings\\JWATERLOO\\My Documents\\My
org\\Source Code\\ryppl\\test'))' returned non-zero exit status 1

Boost list run by bdawes at, gregod at, cpdaniel at, john at