scheme.py 679 B

12345678910111213141516171819202122232425
  1. """
  2. For types associated with installation schemes.
  3. For a general overview of available schemes and their context, see
  4. https://docs.python.org/3/install/index.html#alternate-installation.
  5. """
  6. class Scheme(object):
  7. """A Scheme holds paths which are used as the base directories for
  8. artifacts associated with a Python package.
  9. """
  10. def __init__(
  11. self,
  12. platlib, # type: str
  13. purelib, # type: str
  14. headers, # type: str
  15. scripts, # type: str
  16. data, # type: str
  17. ):
  18. self.platlib = platlib
  19. self.purelib = purelib
  20. self.headers = headers
  21. self.scripts = scripts
  22. self.data = data