Home
last modified time | relevance | path

Searched refs:distribution (Results 1 – 25 of 2824) sorted by relevance

12345678910>>...113

/third_party/python/Lib/distutils/command/
Dbdist_rpm.py205 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())
289 saved_dist_files = self.distribution.dist_files[:]
296 self.distribution.dist_files = saved_dist_files
365 if self.distribution.has_ext_modules():
375 self.distribution.dist_files.append(
385 self.distribution.dist_files.append(
397 '%define name ' + self.distribution.get_name(),
[all …]
Dsdist.py166 check = self.distribution.get_command_obj('check')
250 standards = [self.READMES, self.distribution.script_name]
283 if self.distribution.has_pure_modules():
294 if self.distribution.has_data_files():
295 for item in self.distribution.data_files:
310 if self.distribution.has_ext_modules():
315 if self.distribution.has_c_libraries():
320 if self.distribution.has_scripts():
362 base_dir = self.distribution.get_fullname()
458 self.distribution.metadata.write_pkg_info(base_dir)
[all …]
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():
Dbuild.py105 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()
Dinstall.py308 self.config_vars = {'dist_name': self.distribution.get_name(),
309 'dist_version': self.distribution.get_version(),
310 'dist_fullname': self.distribution.get_fullname(),
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
654 return (self.distribution.has_pure_modules() or
655 self.distribution.has_ext_modules())
660 return self.distribution.has_headers()
665 return self.distribution.has_scripts()
[all …]
Dbdist_dumb.py93 archive_basename = "%s.%s" % (self.distribution.get_fullname(),
100 if (self.distribution.has_ext_modules() and
115 if self.distribution.has_ext_modules():
119 self.distribution.dist_files.append(('bdist_dumb', pyversion,
Dupload.py65 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
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)
Dbdist_msi.py152 if (not self.target_version) and self.distribution.has_ext_modules():
157 if not self.skip_build and self.distribution.has_ext_modules()\
175 for script in self.distribution.scripts:
198 if self.distribution.has_ext_modules():
226 fullname = self.distribution.get_fullname()
231 metadata = self.distribution.metadata
244 fullname = self.distribution.get_fullname()
268 if hasattr(self.distribution, 'dist_files'):
270 self.distribution.dist_files.append(tup)
590 % self.distribution.get_fullname())
Dbuild_py.py49 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():
221 setup_script = os.path.abspath(self.distribution.script_name)
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DUtf8Utils.java159 final int[] distribution = utf8Distribution.getDistribution(); in randomStringsWithDistribution() local
161 distribution[i + 1] += distribution[i]; in randomStringsWithDistribution()
171 codePoint = rnd.nextInt(distribution[3]); in randomStringsWithDistribution()
172 if (codePoint < distribution[0]) { in randomStringsWithDistribution()
175 } else if (codePoint < distribution[1]) { in randomStringsWithDistribution()
178 } else if (codePoint < distribution[2]) { in randomStringsWithDistribution()
/third_party/python/Lib/distutils/tests/
Dtest_install_lib.py64 cmd.distribution.ext_modules = [Extension('foo', ['xxx'])]
65 cmd.distribution.packages = ['spam']
66 cmd.distribution.script_name = 'setup.py'
84 cmd.distribution.ext_modules = [Extension('foo', ['xxx'])]
85 cmd.distribution.packages = ['spam']
86 cmd.distribution.script_name = 'setup.py'
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/comp/
Dgenerate_height.comp6 vec2 distribution[];
51 vec2 _399 = _396 * _137.distribution[_281].yx;
52 vec2 _426 = _396 * _137.distribution[_291].yx;
53 vec2 _434 = (_137.distribution[_291] * _391) + vec2(-_426.x, _426.y);
54 …_225.heights[_281] = packHalf2x16(((_137.distribution[_281] * _391) + vec2(-_399.x, _399.y)) + vec…
/third_party/python/Lib/test/test_importlib/
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'
147 eps = distribution('distinfo-pkg').entry_points
288 assert distribution(name).metadata['Name'] == 'pkg.dot'
294 assert distribution(name).metadata['Name'] == 'pkg.lot'
Dtest_zip.py7 distribution,
51 self.assertIsNone(distribution('example').read_text('does not exist'))
81 dist = distribution('example')
/third_party/python/Doc/distutils/
Dintroduction.rst29 * create a source distribution
56 distribution.
83 To create a source distribution for this module, you would create a setup
115 Other useful built distribution formats are RPM, implemented by the
127 You can find out what distribution formats are available at any time by running
184 module distribution
189 already taken in the Python context: a single module distribution may contain
192 pure module distribution
193 a module distribution that contains only pure Python modules and packages.
194 Sometimes referred to as a "pure distribution."
[all …]
Dsourcedist.rst10 to create a source distribution. In the simplest case, ::
84 source distribution:
117 the exact list of files to include in your source distribution. The
144 set of files to include or exclude from the source distribution. For an
153 The meanings should be fairly clear: include all files in the distribution root
167 distribution:
175 future reference, and then used to build the source distribution archive(s).
183 source distribution:
195 #. include :file:`\*.txt` in the distribution root (this will find
234 in) to create the source distribution archive(s)
[all …]
Dexamples.rst22 Pure Python distribution (by module)
36 (In all diagrams in this section, *<root>* will refer to the distribution root
45 Note that the name of the distribution is specified independently with the
47 the name of the sole module in the distribution (although that's probably a good
48 convention to follow). However, the distribution name is used to generate
75 Pure Python distribution (by package)
154 Or, you might put modules from your main package right in the distribution
239 meet the minimum requirements to build a distribution.
304 distribution is created with Distutils, the metadata fields are written
307 and packages of the distribution under :file:`NAME-VERSION-pyX.X.egg-info`,
Dcommandref.rst39 This command installs all data files provided with the distribution.
47 This command installs all (Python) scripts in the distribution.
55 Creating a source distribution: the :command:`sdist` command
97 .. % \section{Creating a built distribution: the
Dbuiltdist.rst9 A "built distribution" is what you're probably used to thinking of either as a
16 A built distribution is how you make life as easy as possible for installers of
17 your module distribution: for users of RPM-based Linux systems, it's a binary
39 then the Distutils builds my module distribution (the Distutils itself in this
41 creates the default type of built distribution for my platform. The default
48 installs the Distutils just as though you had downloaded the source distribution
59 Windows, is far more convenient for users even if your distribution doesn't
64 distribution to generate: for example, ::
168 of that same distribution is trivial. Depending on the complexity of your module
169 distribution and differences between Linux distributions, you may also be able
[all …]
/third_party/python/Doc/library/
Dimportlib.metadata.rst61 You can get the :ref:`metadata for a distribution <metadata>`::
66 You can also get a :ref:`distribution's version number <version>`, list its
67 :ref:`constituent files <files>`, and get a list of the distribution's
159 Every distribution includes some metadata, which you can extract using the
166 the values are returned unparsed from the distribution metadata::
190 The ``version()`` function is the quickest way to get a distribution's version
202 You can also get the full set of files contained within a distribution. The
203 ``files()`` function takes a distribution package name and returns all of the
204 files installed by this distribution. Each file object returned is a
241 distribution is not known to have the metadata present.
[all …]
Drandom.rst21 distributions of angles, the von Mises distribution is available.
273 parameters are named after the corresponding variables in the distribution's
297 between the bounds, giving a symmetric distribution.
302 Beta distribution. Conditions on the parameters are ``alpha > 0`` and
308 Exponential distribution. *lambd* is 1.0 divided by the desired
317 Gamma distribution. (*Not* the gamma function!) Conditions on the
320 The probability distribution function is::
329 Normal distribution, also called the Gaussian distribution. *mu* is the mean,
343 Log normal distribution. If you take the natural logarithm of this
344 distribution, you'll get a normal distribution with mean *mu* and standard
[all …]
/third_party/alsa-utils/alsaconf/
Dalsaconf.in54 distribution="suse"
57 distribution="suse"
59 distribution="gentoo"
61 distribution="debian"
63 distribution="mandrake"
65 distribution="redhat"
67 distribution="fedora"
69 distribution="slackware"
71 distribution="unknown"
322 elif [ "$distribution" = "debian" ]; then
[all …]
/third_party/python/Lib/distutils/
Dcmd.py61 self.distribution = dist
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)
/third_party/python/Doc/distributing/
Dindex.rst19 This guide covers the distribution part of the process. For a guide to
28 use of the distribution and installation tools provided with Python.
44 * :mod:`distutils` is the original build and distribution system first added
47 and distribution infrastructure, and it not only remains part of the
80 The distribution tools provided with Python are designed to make it
84 The same distribution tools can also be used to distribute software within
97 The currently recommended build and distribution tools can be installed
138 https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives

12345678910>>...113