> On 14.05.2013 13:24, Dan Lazewatsky wrote:
>
> Just embed the module if necessary (under a folder "external" or similar to
> express that it is external code).
> Than the plugin can try importing the existing system installed version and
> if the version is to old fall back to the module embedded in the package.
I examined, and found that there are many psutil related files (I
paste `locate` output at #1). Here I'm not sure if these many files
are "embeddable" in a folder as I have no idea how to realize their
directory hierarchy esp. for dynamic library files (it maybe easy for
others. I just don't know how).
So I still tried rosdep but haven't been successful and opened a question
http://answers.ros.org/question/62756/install-rosdep-definition-locally-in-a-package/
Thanks for the help,
Isaac
#1 locate output on Quantal:
$ locate psutils
/usr/lib/psutils
/usr/lib/psutils/
md68_0.ps
/usr/lib/psutils/
md71_0.ps
/usr/lib/pyshared/python2.7/_psutil_linux.so
/usr/lib/pyshared/python2.7/_psutil_posix.so
/usr/lib/python2.7/dist-packages/_psutil_linux.so
/usr/lib/python2.7/dist-packages/_psutil_posix.so
/usr/lib/python2.7/dist-packages/psutil
/usr/lib/python2.7/dist-packages/psutil-0.6.1.egg-info
/usr/lib/python2.7/dist-packages/psutil/__init__.py
/usr/lib/python2.7/dist-packages/psutil/__init__.pyc
/usr/lib/python2.7/dist-packages/psutil/_common.py
/usr/lib/python2.7/dist-packages/psutil/_common.pyc
/usr/lib/python2.7/dist-packages/psutil/_compat.py
/usr/lib/python2.7/dist-packages/psutil/_compat.pyc
/usr/lib/python2.7/dist-packages/psutil/_psbsd.py
/usr/lib/python2.7/dist-packages/psutil/_psbsd.pyc
/usr/lib/python2.7/dist-packages/psutil/_pslinux.py
/usr/lib/python2.7/dist-packages/psutil/_pslinux.pyc
/usr/lib/python2.7/dist-packages/psutil/_psmswindows.py
/usr/lib/python2.7/dist-packages/psutil/_psmswindows.pyc
/usr/lib/python2.7/dist-packages/psutil/_psosx.py
/usr/lib/python2.7/dist-packages/psutil/_psosx.pyc
/usr/lib/python2.7/dist-packages/psutil/_psposix.py
/usr/lib/python2.7/dist-packages/psutil/_psposix.pyc
/usr/lib/python2.7/dist-packages/psutil/error.py
/usr/lib/python2.7/dist-packages/psutil/error.pyc
/usr/share/doc/psutils
/usr/share/doc/python-psutil
/usr/share/doc/psutils/README.gz
/usr/share/doc/psutils/changelog.Debian.gz
/usr/share/doc/psutils/copyright
/usr/share/doc/python-psutil/changelog.Debian.gz
/usr/share/doc/python-psutil/copyright
/usr/share/doc/python-psutil/examples
/usr/share/doc/python-psutil/examples/disk_usage.py
/usr/share/doc/python-psutil/examples/free.py
/usr/share/doc/python-psutil/examples/iotop.py
/usr/share/doc/python-psutil/examples/killall.py
/usr/share/doc/python-psutil/examples/meminfo.py
/usr/share/doc/python-psutil/examples/netstat.py
/usr/share/doc/python-psutil/examples/nettop.py
/usr/share/doc/python-psutil/examples/pmap.py
/usr/share/doc/python-psutil/examples/process_detail.py
/usr/share/doc/python-psutil/examples/top.py
/usr/share/doc/python-psutil/examples/who.py
/usr/share/lintian/overrides/psutils
/usr/share/pyshared/psutil
/usr/share/pyshared/psutil-0.6.1.egg-info
/usr/share/pyshared/psutil/__init__.py
/usr/share/pyshared/psutil/_common.py
/usr/share/pyshared/psutil/_compat.py
/usr/share/pyshared/psutil/_psbsd.py
/usr/share/pyshared/psutil/_pslinux.py
/usr/share/pyshared/psutil/_psmswindows.py
/usr/share/pyshared/psutil/_psosx.py
/usr/share/pyshared/psutil/_psposix.py
/usr/share/pyshared/psutil/error.py
/var/cache/apt/archives/python-psutil_0.6.1-1ubuntu1_amd64.deb
/var/lib/dpkg/info/psutils.list
/var/lib/dpkg/info/psutils.md5sums
/var/lib/dpkg/info/python-psutil.list
/var/lib/dpkg/info/python-psutil.md5sums
/var/lib/dpkg/info/python-psutil.postinst
/var/lib/dpkg/info/python-psutil.prerm