Home
last modified time | relevance | path

Searched refs:distribution (Results 1 - 25 of 144) sorted by relevance

123456

/third_party/python/Lib/distutils/command/
H A Dbdist_rpm.py16 description = "create an RPM distribution"
40 "use bzip2 instead of gzip to create source distribution"),
47 ('distribution-name=', None,
48 "name of the (Linux) distribution to which this "
49 "RPM applies (*not* the name of the module distribution!)"),
205 if not self.distribution.has_ext_modules():
214 "%s <%s>" % (self.distribution.get_contact(),
215 self.distribution.get_contact_email()))
278 "%s.spec" % self.distribution.get_name())
287 # Make a source distribution an
[all...]
H A Dinstall_lib.py96 if outfiles is not None and self.distribution.has_pure_modules():
104 if self.distribution.has_pure_modules():
106 if self.distribution.has_ext_modules():
186 self._mutate_outputs(self.distribution.has_pure_modules(),
195 self._mutate_outputs(self.distribution.has_ext_modules(),
209 if self.distribution.has_pure_modules():
213 if self.distribution.has_ext_modules():
H A Dsdist.py3 Implements the Distutils 'sdist' command (create a source distribution)."""
33 "List of available source distribution formats:")
38 description = "create a source distribution (tarball, zip file, etc.)"
69 "formats for source distribution (comma-separated list)"),
71 "keep the distribution tree around after creating " +
74 "directory to put the source distribution archive(s) in "
91 "list available distribution formats", show_formats),
158 # Otherwise, go ahead and create the source distribution tarball,
166 check = self.distribution.get_command_obj('check')
172 distribution, an
[all...]
H A Dbuild.py28 "build directory for all distribution (defaults to either " +
94 # them for a given distribution, though --
102 # particular module distribution -- if user didn't supply it, pick
105 if self.distribution.ext_modules:
141 return self.distribution.has_pure_modules()
144 return self.distribution.has_c_libraries()
147 return self.distribution.has_ext_modules()
150 return self.distribution.has_scripts()
H A Dinstall.py248 # distribution. Thus, this code makes a pretty important policy
308 self.config_vars = {'dist_name': self.distribution.get_name(),
309 'dist_version': self.distribution.get_version(),
310 'dist_fullname': self.distribution.get_fullname(),
355 # module distribution is pure or not. Of course, if the user
358 if self.distribution.ext_modules: # has extensions: non-pure
515 self.extra_path = self.distribution.extra_path
570 build_plat = self.distribution.get_command_obj('build').plat_name
652 """Returns true if the current distribution has any Python
654 return (self.distribution
[all...]
H A Dbdist_dumb.py4 distribution -- i.e., just an archive to be unpacked under $prefix or
17 description = "create a \"dumb\" built distribution"
20 "temporary directory for creating the distribution"),
29 "creating the distribution archive"),
93 archive_basename = "%s.%s" % (self.distribution.get_fullname(),
100 if (self.distribution.has_ext_modules() and
103 "can't make a dumb built distribution where "
115 if self.distribution.has_ext_modules():
119 self.distribution.dist_files.append(('bdist_dumb', pyversion,
H A Dupload.py63 # getting the password from the distribution
65 if not self.password and self.distribution.password:
66 self.password = self.distribution.password
69 if not self.distribution.dist_files:
73 for command, pyversion, filename in self.distribution.dist_files:
102 meta = self.distribution.metadata
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
44 self.distribution.metadata.write_pkg_file(f)
55 """Convert an arbitrary string to a standard distribution name
H A Dinstall_headers.py34 headers = self.distribution.headers
44 return self.distribution.headers or []
H A Dcheck.py90 metadata = self.distribution.metadata
114 data = self.distribution.get_long_description()
126 source_path = self.distribution.script_name or 'setup.py'
H A Dbuild_py.py47 # Get the distribution options that are aliases for build_py
49 self.packages = self.distribution.packages
50 self.py_modules = self.distribution.py_modules
51 self.package_data = self.distribution.package_data
53 if self.distribution.package_dir:
54 for name, path in self.distribution.package_dir.items():
77 # installation of the same module distribution can overwrite it
146 distribution, where package 'package' should be found
221 setup_script = os.path.abspath(self.distribution.script_name)
238 ".py" file (relative to the distribution roo
[all...]
H A Dregister.py19 description = ("register the distribution with the Python package index")
41 self.distribution.command_options['check'] = check_options
62 check = self.distribution.get_command_obj('check')
173 # sharing the password in the distribution instance
175 self.distribution.password = password
224 meta = self.distribution.metadata
H A Dbuild_clib.py4 that is included in the module distribution and needed by an extension
81 self.libraries = self.distribution.libraries
86 self.include_dirs = self.distribution.include_dirs or []
H A Dinstall_scripts.py57 return self.distribution.scripts or []
H A Dbuild_ext.py144 self.package = self.distribution.ext_package
146 self.extensions = self.distribution.ext_modules
153 self.include_dirs = self.distribution.include_dirs or []
201 # Append the source distribution include and library directories,
299 if self.distribution.has_c_libraries():
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DUtf8Utils.java14 // distribution.
86 * The Utf8 distribution of real data. The distribution is an array with length 4.
87 * "distribution[i]" means the total number of characters who are encoded with (i + 1) bytes.
89 * <p>GMM_UTF8_DISTRIBUTION is the distribution of gmm data set. GSR_UTF8_DISTRIBUTION is the
90 * distribution of gsreq/gsresp data set
152 * Creates an array of random strings according to UTF8 distribution.
159 final int[] distribution = utf8Distribution.getDistribution(); in randomStringsWithDistribution()
161 distribution[i + 1] += distribution[ in randomStringsWithDistribution()
[all...]
/third_party/python/Lib/distutils/tests/
H A Dtest_install_lib.py65 cmd.distribution.ext_modules = [Extension('foo', ['xxx'])]
66 cmd.distribution.packages = ['spam']
67 cmd.distribution.script_name = 'setup.py'
85 cmd.distribution.ext_modules = [Extension('foo', ['xxx'])]
86 cmd.distribution.packages = ['spam']
87 cmd.distribution.script_name = 'setup.py'
/third_party/python/Lib/test/test_importlib/
H A Dtest_metadata_api.py12 distribution,
50 distribution('does-not-exist')
56 assert distribution(name).metadata['Name'] == 'pkg.dot'
63 distribution(prefix)
67 distribution('egginfo-pkg').read_text('top_level.txt').strip(), 'mod'
151 eps = distribution('distinfo-pkg').entry_points
309 assert distribution(name).metadata['Name'] == 'pkg.dot'
315 assert distribution(name).metadata['Name'] == 'pkg.lot'
H A Dtest_zip.py7 distribution,
35 self.assertIsNone(distribution('example').read_text('does not exist'))
61 dist = distribution('example')
/third_party/python/Lib/distutils/
H A Dcmd.py61 self.distribution = dist
67 # "not defined, check self.distribution's copy", while 0 or 1 mean
99 return getattr(self.distribution, attr)
286 src_cmd_obj = self.distribution.get_command_obj(src_cmd)
298 cmd_obj = self.distribution.get_command_obj(command, create)
305 return self.distribution.reinitialize_command(command,
313 self.distribution.run_command(command)
317 distribution (ie., that need to be run). This is based on the
320 run for the current distribution. Return a list of command names.
/third_party/rust/crates/unicode-ident/benches/
H A Dxid.rs38 let distribution = if pick_nonascii.sample(&mut rng) { in gen_string()
43 string.push(distribution.sample(&mut rng)); in gen_string()
/third_party/python/Lib/importlib/metadata/
H A D__init__.py35 'distribution',
532 """A Python distribution package."""
538 :param filename: The name of the file in the distribution info.
545 Given a path to a file in this distribution, return a path
553 :param name: The name of the distribution package to search for.
556 :raises PackageNotFoundError: When the named package's distribution
561 raise ValueError("A distribution name is required.")
621 """Return the 'Name' metadata for the distribution package."""
631 """Return the 'Version' metadata for the distribution package."""
640 """Files in this distribution
975 def distribution(distribution_name): global() function
[all...]
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_prime.pl6 # in the file LICENSE in the source distribution or at
24 * in the file LICENSE in the source distribution or at
/third_party/openssl/crypto/bn/
H A Dbn_prime.pl6 # in the file LICENSE in the source distribution or at
24 * in the file LICENSE in the source distribution or at
/third_party/node/deps/openssl/openssl/util/
H A Dmkerr.pl6 # in the file LICENSE in the source distribution or at
336 * in the file LICENSE in the source distribution or at
427 * in the file LICENSE in the source distribution or at
533 * in the file LICENSE in the source distribution or at
676 # in the file LICENSE in the source distribution or at

Completed in 13 milliseconds

123456