Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

It we want to get the current version of a external package and make it available in the release, there are several options.

...

Code Block
languagepy
Import('*')
from SConsTools.standardExternalPackage import standardExternalPackage
PREFIX = '/reg/neh/home/davidsch/rel/scikit-beam-devel/scikit-beam-devel/install'
PYDIR = '/reg/neh/home/davidsch/rel/scikit-beam-devel/scikit-beam-devel/install/lib/python2.7/site-packages'
standardExternalPackage('skbeam', **locals())

where you edit for your prefix and pydir.

This is not the best for a developer. Everytime you modify the source, you have to build and install again using the commands

Code Block
python setup.py build
python setup.py install --prefix=install --old-and-unmanageable

Development Mode

https://pythonhosted.org/setuptools/setuptools.html#development-mode