package_info#

(Legacy) Low-level implementation of a PackageRecord.

Classes#

NoarchField

Fields are doing something very similar to boxing and unboxing

Noarch

PreferredEnv

PackageMetadata

PackageInfo

class NoarchField(enum_class, default=NULL, required=True, validation=None, in_dump=True, default_in_dump=True, nullable=False, immutable=False, aliases=())#

Bases: conda.auxlib.entity.EnumField

Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.

Parameters:
  • types (primitive literal or type or sequence of types)

  • default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.

  • required (boolean, optional)

  • validation (callable, optional)

  • dump (boolean, optional)

box(instance, instance_type, val)#
class Noarch(**kwargs)#

Bases: conda.auxlib.entity.Entity

type#
entry_points#
class PreferredEnv(**kwargs)#

Bases: conda.auxlib.entity.Entity

name#
executable_paths#
class PackageMetadata(**kwargs)#

Bases: conda.auxlib.entity.Entity

package_metadata_version#
noarch#
preferred_env#
class PackageInfo(**kwargs)#

Bases: conda.auxlib.entity.ImmutableEntity

property name#
property version#
property build#
property build_number#
extracted_package_dir#
package_tarball_full_path#
channel#
repodata_record#
url#
icondata#
package_metadata#
paths_data#
dist_str()#