stsci.distutils

distutils/packaging-related utilities used by STScI's packages
Download

stsci.distutils Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Publisher Name:
  • Erik M. Bray
  • Publisher web site:
  • http://stsci.edu

stsci.distutils Tags


stsci.distutils Description

distutils/packaging-related utilities used by STScI's packages stsci.distutils is a Python module that contains utilities used to package some of STScI's Python projects; specifically those projects that comprise stsci_python and Astrolib.It currently consists mostly of some setup_hook scripts meant for use with distutils2/packaging and/or d2to1, and a customized easy_install command meant for use with distribute.This package is not meant for general consumption, though it might be worth looking at for examples of how to do certain things with your own packages, but YMMV.CommandsCurrently one custom command is included: stsci.distutils.command.easier_install. This is meant as a replacement for the distribute/setuptools easy_install command. It works exactly the same way, but includes a new feature: Local source directories can be searched for package dependencies.The directories to search can be specified by adding them to the find-links option in the section of setup.cfg. Though find-links can already be used to point to egg files or source tarfiles on the local filesystem, this adds the ability to point to existing source checkouts to search for dependencies.Currently this only supports source distributions that have their package metadata in setup.cfg (distutils2 style), but this could be extended to support other more common distribution styles. For example, checking for EGG-INFO, or even calling setup.py egg_info and using that to determine whether or not a source checkout matches some requirement.


stsci.distutils Related Software