Home
last modified time | relevance | path

Searched refs:download_dir (Results 1 – 25 of 821) sorted by relevance

12345678910>>...33

/dports/lang/spidermonkey78/firefox-78.9.0/obj-x86_64-pc-linux-gnu/_virtualenvs/init/lib/python2.7/site-packages/pip/_internal/operations/
H A Dprepare.py112 download_dir=None, # type: Optional[str] argument
119 if download_dir:
121 link, download_dir, hashes
199 if download_dir:
201 link, download_dir, hashes
258 download_dir,
345 self.download_dir = download_dir
369 if not self.download_dir:
378 .format(self.download_dir))
462 download_dir = self.download_dir
[all …]
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/patched/notpip/_internal/operations/
H A Dprepare.py148 if download_dir:
150 link, download_dir, hashes
229 if download_dir:
231 link, download_dir, hashes
286 download_dir,
366 self.download_dir = download_dir
390 if not self.download_dir:
399 .format(self.download_dir))
466 download_dir = self.download_dir
494 if download_dir:
[all …]
/dports/devel/google-cloud-cpp117/google-cloud-cpp-1.17.0/ci/kokoro/windows/
H A Dbuild-quickstart-bazel.ps158 $download_dir = "T:\tmp" variable
60 $download_dir="${env:TEMP}" variable
61 } elseif (-not $download_dir) { variable
62 Make-Item -Type "Directory" ${download_dir}
69 gsutil -q cp "gs://${CACHE_FOLDER}/${CACHE_BASENAME}.7z" "${download_dir}"
79 7z x "${download_dir}/${CACHE_BASENAME}.7z" "-o${download_dir}" "-aoa" "-bso0" "-bsp0"
96 7z x "${download_dir}/${CACHE_BASENAME}.tar" ${extract_flags}
201 Remove-Item "${download_dir}\${CACHE_BASENAME}.tar" -ErrorAction SilentlyContinue
202 7z a "${download_dir}\${CACHE_BASENAME}.tar" "${bazel_root}" ${archive_flags}
204 Remove-Item "${download_dir}\${CACHE_BASENAME}.7z" -ErrorAction SilentlyContinue
[all …]
/dports/math/py-cypari2/cypari2-2.1.2/venv/lib/python3.7/site-packages/pip/_internal/operations/
H A Dprepare.py45 download_dir, # type: Optional[str] argument
61 self.download_dir = download_dir
84 if self.download_dir:
85 self.download_dir = expanduser(self.download_dir)
86 if os.path.exists(self.download_dir):
92 % display_path(self.download_dir))
179 download_dir = self.download_dir
187 if download_dir:
197 download_dir, autodelete_unpacked,
220 req.archive(self.download_dir)
[all …]
/dports/misc/py-gluoncv/gluon-cv-0.9.0/scripts/datasets/
H A Dilsvrc_det.py29 args.download_dir = os.path.expanduser(args.download_dir)
38 if not os.path.isdir(args.download_dir):
39 makedirs(args.download_dir)
44 tar.extractall(path=args.download_dir)
45 if os.path.isdir(os.path.join(args.download_dir, 'ILSVRC2015')):
46 …os.rename(os.path.join(args.download_dir, 'ILSVRC2015'), os.path.join(args.download_dir, 'ILSVRC'))
83 VID_base_path = os.path.join(args.download_dir, './ILSVRC')
103 VID_base_path = os.path.join(args.download_dir, './ILSVRC')
136 json.dump(val, open(os.path.join(args.download_dir, 'val.json'), 'w'),
143 src = os.path.join(args.download_dir, src)
[all …]
H A Dcoco_tracking.py28 args.download_dir = os.path.expanduser(args.download_dir)
41 if not os.path.isdir(args.download_dir):
42 makedirs(args.download_dir)
44 filename = download(url, path=args.download_dir, overwrite=overwrite, sha1_hash=checksum)
46 zf.extractall(path=args.download_dir)
70 …cv2.imwrite(os.path.join(args.download_dir, frame_crop_base_path, '{:06d}.{:02d}.z.jpg'.format(0, …
71 …cv2.imwrite(os.path.join(args.download_dir, frame_crop_base_path, '{:06d}.{:02d}.x.jpg'.format(0, …
81 crop_path = os.path.join(args.download_dir, './crop{:d}'.format(int(args.instance_size)))
86 set_img_base_path = os.path.join(args.download_dir, dataType)
88 annFile = '{}/annotations/instances_{}.json'.format(args.download_dir, dataType)
[all …]
H A Dotb2015.py32 args.download_dir = os.path.expanduser(args.download_dir)
38 if not os.path.isdir(args.download_dir):
39 makedirs(args.download_dir)
42 filename = download(url, path=args.download_dir, overwrite=overwrite)
44 zf.extractall(path=args.download_dir)
47 filename = download(url, path=args.download_dir, overwrite=overwrite)
49 zf.extractall(path=args.download_dir)
H A Dilsvrc_vid.py32 args.download_dir = os.path.expanduser(args.download_dir)
41 if not os.path.isdir(args.download_dir):
42 makedirs(args.download_dir)
47 tar.extractall(path=args.download_dir)
139 crop_path = os.path.join(args.download_dir, './crop{:d}'.format(int(args.instance_size)))
157 vid = json.load(open(os.path.join(args.download_dir, 'vid.json'), 'r'))
200 json.dump(train, open(os.path.join(args.download_dir, 'train.json'), 'w'),
202 json.dump(val, open(os.path.join(args.download_dir, 'val.json'), 'w'),
210 src = os.path.join(args.download_dir, src)
211 dst = os.path.join(args.download_dir, dst)
[all …]
H A Dade20k.py24 download_dir = os.path.join(path, 'downloads')
25 makedirs(download_dir)
27 filename = download(url, path=download_dir, overwrite=overwrite, sha1_hash=checksum)
36 if args.download_dir is not None:
40 os.symlink(args.download_dir, _TARGET_DIR)
H A Dmhp_v1.py28 download_dir = os.path.join(path, 'downloads')
29 makedirs(download_dir)
30 filename = os.path.join(download_dir, 'LV-MHP-v1.zip')
46 if args.download_dir is not None:
50 os.symlink(args.download_dir, _TARGET_DIR)
/dports/www/firefox/firefox-99.0/third_party/python/pip/pip/_internal/operations/
H A Dprepare.py85 download_dir=None, # type: Optional[str] argument
92 if download_dir:
94 link, download_dir, hashes
163 download_dir=None, # type: Optional[str] argument
171 if download_dir:
173 link, download_dir, hashes
195 download_dir=None, # type: Optional[str] argument
242 download_dir,
287 download_dir, # type: Optional[str] argument
312 self.download_dir = download_dir
[all …]
/dports/finance/electrum/Electrum-4.1.5/packages/pip/_internal/operations/
H A Dprepare.py91 download_dir=None, # type: Optional[str] argument
98 if download_dir:
100 link, download_dir, hashes
169 download_dir=None, # type: Optional[str] argument
177 if download_dir:
179 link, download_dir, hashes
201 download_dir=None, # type: Optional[str] argument
233 download_dir,
278 download_dir, # type: Optional[str] argument
302 self.download_dir = download_dir
[all …]
/dports/devel/py-pip/pip-20.3.4/src/pip/_internal/operations/
H A Dprepare.py113 download_dir=None, # type: Optional[str] argument
120 if download_dir:
122 link, download_dir, hashes
192 download_dir=None, # type: Optional[str] argument
200 if download_dir:
202 link, download_dir, hashes
224 download_dir=None, # type: Optional[str] argument
256 download_dir,
301 download_dir, # type: Optional[str] argument
325 self.download_dir = download_dir
[all …]
/dports/www/firefox-esr/firefox-91.8.0/testing/condprofile/condprof/tests/
H A Dtest_client.py37 self.download_dir = os.path.expanduser("~/.condprof-cache")
38 if os.path.exists(self.download_dir):
39 shutil.rmtree(self.download_dir)
72 shutil.rmtree(self.download_dir)
77 download_dir = os.path.expanduser("~/.condprof-cache")
78 if os.path.exists(download_dir):
79 num_elmts = len(os.listdir(download_dir))
86 self.assertEqual(len(os.listdir(download_dir)), num_elmts + 2)
99 self.assertEqual(len(os.listdir(download_dir)), num_elmts + 2)
/dports/www/firefox/firefox-99.0/testing/condprofile/condprof/tests/
H A Dtest_client.py37 self.download_dir = os.path.expanduser("~/.condprof-cache")
38 if os.path.exists(self.download_dir):
39 shutil.rmtree(self.download_dir)
72 shutil.rmtree(self.download_dir)
77 download_dir = os.path.expanduser("~/.condprof-cache")
78 if os.path.exists(download_dir):
79 num_elmts = len(os.listdir(download_dir))
86 self.assertEqual(len(os.listdir(download_dir)), num_elmts + 2)
99 self.assertEqual(len(os.listdir(download_dir)), num_elmts + 2)
/dports/mail/thunderbird/thunderbird-91.8.0/testing/condprofile/condprof/tests/
H A Dtest_client.py37 self.download_dir = os.path.expanduser("~/.condprof-cache")
38 if os.path.exists(self.download_dir):
39 shutil.rmtree(self.download_dir)
72 shutil.rmtree(self.download_dir)
77 download_dir = os.path.expanduser("~/.condprof-cache")
78 if os.path.exists(download_dir):
79 num_elmts = len(os.listdir(download_dir))
86 self.assertEqual(len(os.listdir(download_dir)), num_elmts + 2)
99 self.assertEqual(len(os.listdir(download_dir)), num_elmts + 2)
/dports/lang/spidermonkey78/firefox-78.9.0/testing/condprofile/condprof/tests/
H A Dtest_client.py36 self.download_dir = os.path.expanduser("~/.condprof-cache")
37 if os.path.exists(self.download_dir):
38 shutil.rmtree(self.download_dir)
71 shutil.rmtree(self.download_dir)
76 download_dir = os.path.expanduser("~/.condprof-cache")
77 if os.path.exists(download_dir):
78 num_elmts = len(os.listdir(download_dir))
85 self.assertEqual(len(os.listdir(download_dir)), num_elmts + 2)
98 self.assertEqual(len(os.listdir(download_dir)), num_elmts + 2)
/dports/www/firefox-esr/firefox-91.8.0/testing/condprofile/condprof/
H A Dclient.py156 download_dir = tempfile.mkdtemp()
159 download_dir = os.path.expanduser(CONDPROF_CACHE)
160 if not os.path.exists(download_dir):
161 os.makedirs(download_dir)
163 downloaded_archive = os.path.join(download_dir, filename)
194 shutil.rmtree(download_dir)
218 download_dir = tempfile.mkdtemp()
219 downloaded_changelog = os.path.join(download_dir, "changelog.json")
225 shutil.rmtree(download_dir)
227 return Changelog(download_dir)
/dports/www/firefox/firefox-99.0/testing/condprofile/condprof/
H A Dclient.py156 download_dir = tempfile.mkdtemp()
159 download_dir = os.path.expanduser(CONDPROF_CACHE)
160 if not os.path.exists(download_dir):
161 os.makedirs(download_dir)
163 downloaded_archive = os.path.join(download_dir, filename)
194 shutil.rmtree(download_dir)
218 download_dir = tempfile.mkdtemp()
219 downloaded_changelog = os.path.join(download_dir, "changelog.json")
225 shutil.rmtree(download_dir)
227 return Changelog(download_dir)
/dports/mail/thunderbird/thunderbird-91.8.0/testing/condprofile/condprof/
H A Dclient.py156 download_dir = tempfile.mkdtemp()
159 download_dir = os.path.expanduser(CONDPROF_CACHE)
160 if not os.path.exists(download_dir):
161 os.makedirs(download_dir)
163 downloaded_archive = os.path.join(download_dir, filename)
194 shutil.rmtree(download_dir)
218 download_dir = tempfile.mkdtemp()
219 downloaded_changelog = os.path.join(download_dir, "changelog.json")
225 shutil.rmtree(download_dir)
227 return Changelog(download_dir)
/dports/lang/spidermonkey78/firefox-78.9.0/testing/condprofile/condprof/
H A Dclient.py158 download_dir = tempfile.mkdtemp()
161 download_dir = os.path.expanduser(CONDPROF_CACHE)
162 if not os.path.exists(download_dir):
163 os.makedirs(download_dir)
165 downloaded_archive = os.path.join(download_dir, filename)
196 shutil.rmtree(download_dir)
220 download_dir = tempfile.mkdtemp()
221 downloaded_changelog = os.path.join(download_dir, "changelog.json")
227 shutil.rmtree(download_dir)
229 return Changelog(download_dir)
/dports/devel/py-pip/pip-20.3.4/tests/functional/
H A Dtest_download.py768 download_dir = tmpdir / 'download'
769 download_dir.mkdir()
777 str(download_dir),
789 download_dir = tmpdir / 'download'
790 download_dir.mkdir()
808 download_dir = tmpdir / 'download'
809 download_dir.mkdir()
827 download_dir = tmpdir / 'download'
828 download_dir.mkdir()
861 download_dir = tmpdir / "download_dir"
[all …]
/dports/science/ALPSCore/ALPSCore-2.2.0/common/build/
H A Dbuild.travis.sh10 download_dir=$HOME/boost
11 mkdir -pv $download_dir
12 boost_tgz=$download_dir/boost_${ALPS_BOOST_VERSION}.tar.gz
15 tar -C $download_dir -xzf $boost_tgz
16 …DBoost_NO_SYSTEM_PATHS=true -DBoost_NO_BOOST_CMAKE=true -DBOOST_ROOT=$download_dir/boost_${ALPS_BO…
/dports/textproc/py-nltk/nltk-3.4.1/nltk/
H A Ddownloader.py440 def __init__(self, download_dir): argument
441 self.download_dir = download_dir
529 download_dir=None, argument
537 if download_dir is None:
624 if download_dir is None:
708 os.mkdir(download_dir)
756 download_dir=None, argument
847 download_dir = msg.download_dir
868 if download_dir is None:
1686 if self._ds.download_dir == download_dir:
[all …]
/dports/devel/py-pip/pip-20.3.4/tests/unit/
H A Dtest_operations_prepare.py44 download_dir=None,
76 download_dir = tmpdir.joinpath('download')
77 os.mkdir(download_dir)
78 file_path, content_type = download(link, download_dir)
80 actual = os.listdir(download_dir)
168 self.download_dir = tmpdir.joinpath('download')
170 os.mkdir(self.download_dir)
184 os.path.join(self.download_dir, self.dist_file))
206 download_dir=self.download_dir)
238 download_dir=None

12345678910>>...33