Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
a8c34246
Unverified
Kaydet (Commit)
a8c34246
authored
Nis 20, 2018
tarafından
Brett Cannon
Kaydeden (comit)
GitHub
Nis 20, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-25427: Remove pyvenv (GH-5962)
üst
61f82e0e
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
8 additions
and
35 deletions
+8
-35
index.rst
Doc/installing/index.rst
+0
-5
venv.rst
Doc/library/venv.rst
+0
-4
3.8.rst
Doc/whatsnew/3.8.rst
+3
-0
Makefile.in
Mac/Makefile.in
+0
-2
Makefile.pre.in
Makefile.pre.in
+0
-2
2018-03-02-16-23-31.bpo-25427.1mgMOG.rst
...next/Tools-Demos/2018-03-02-16-23-31.bpo-25427.1mgMOG.rst
+3
-0
tools_files.wxs
Tools/msi/tools/tools_files.wxs
+0
-3
pyvenv
Tools/scripts/pyvenv
+0
-17
setup.py
setup.py
+2
-2
No files found.
Doc/installing/index.rst
Dosyayı görüntüle @
a8c34246
...
...
@@ -62,11 +62,6 @@ Key terms
of
the
mailing
list
used
to
coordinate
Python
packaging
standards
development
).
..
deprecated
::
3.6
``
pyvenv
``
was
the
recommended
tool
for
creating
virtual
environments
for
Python
3.3
and
3.4
,
and
is
`
deprecated
in
Python
3.6
<
https
://
docs
.
python
.
org
/
dev
/
whatsnew
/
3.6
.
html
#
deprecated
-
features
>`
_
.
..
versionchanged
::
3.5
The
use
of
``
venv
``
is
now
recommended
for
creating
virtual
environments
.
...
...
Doc/library/venv.rst
Dosyayı görüntüle @
a8c34246
...
...
@@ -23,10 +23,6 @@ independent set of installed Python packages in its site directories.
See :pep:`405` for more information about Python virtual environments.
.. note::
The ``pyvenv`` script has been deprecated as of Python 3.6 in favor of using
``python3 -m venv`` to help prevent any potential confusion as to which
Python interpreter a virtual environment will be based on.
Creating virtual environments
...
...
Doc/whatsnew/3.8.rst
Dosyayı görüntüle @
a8c34246
...
...
@@ -111,6 +111,9 @@ Deprecated
Removed
=======
* The ``pyvenv`` script has been removed in favor of ``python3.8 -m venv``
to help eliminate confusion as to what Python interpreter the ``pyvenv``
script is tied to. (Contributed by Brett Cannon in :issue:`25427`.)
Porting to Python 3.8
...
...
Mac/Makefile.in
Dosyayı görüntüle @
a8c34246
...
...
@@ -67,7 +67,6 @@ installunixtools:
pydoc3
\
python3
\
python3-config
\
pyvenv
\
;
\
do
\
rm
-f
$$
{
fn
}
;
\
...
...
@@ -118,7 +117,6 @@ altinstallunixtools:
pydoc
$(VERSION)
\
python
$(VERSION)
\
python
$(LDVERSION)
-config
\
pyvenv-
$(VERSION)
\
;
\
do
\
rm
-f
$$
{
fn
}
;
\
...
...
Makefile.pre.in
Dosyayı görüntüle @
a8c34246
...
...
@@ -1217,8 +1217,6 @@ bininstall: altbininstall
(
cd
$(DESTDIR)$(BINDIR)
;
$(LN)
-s
pydoc
$(VERSION)
pydoc3
)
-
rm
-f
$(DESTDIR)$(BINDIR)
/2to3
(
cd
$(DESTDIR)$(BINDIR)
;
$(LN)
-s
2to3-
$(VERSION)
2to3
)
-
rm
-f
$(DESTDIR)$(BINDIR)
/pyvenv
(
cd
$(DESTDIR)$(BINDIR)
;
$(LN)
-s
pyvenv-
$(VERSION)
pyvenv
)
if
test
"x
$(LIPO_32BIT_FLAGS)
"
!=
"x"
;
then
\
rm
-f
$(DESTDIR)$(BINDIR)
/python3-32
$(EXE)
;
\
(
cd
$(DESTDIR)$(BINDIR)
;
$(LN)
-s
python
$(VERSION)
-32
$(EXE)
python3-32
$(EXE)
)
\
...
...
Misc/NEWS.d/next/Tools-Demos/2018-03-02-16-23-31.bpo-25427.1mgMOG.rst
0 → 100644
Dosyayı görüntüle @
a8c34246
Remove the pyvenv script in favor of ``python3 -m venv`` in order to lower
confusion as to what Python interpreter a virtual environment will be
created for.
Tools/msi/tools/tools_files.wxs
Dosyayı görüntüle @
a8c34246
...
...
@@ -8,9 +8,6 @@
<Component
Id=
"Tools_scripts_pydoc3.py"
Directory=
"Tools_scripts"
Guid=
"*"
>
<File
Id=
"Tools_scripts_pydoc3.py"
Name=
"pydoc3.py"
Source=
"!(bindpath.src)Tools\scripts\pydoc3"
/>
</Component>
<Component
Id=
"Tools_scripts_pyvenv.py"
Directory=
"Tools_scripts"
Guid=
"*"
>
<File
Id=
"Tools_scripts_pyvenv.py"
Name=
"pyvenv.py"
Source=
"!(bindpath.src)Tools\scripts\pyvenv"
/>
</Component>
</ComponentGroup>
</Fragment>
<Fragment>
...
...
Tools/scripts/pyvenv
deleted
100755 → 0
Dosyayı görüntüle @
61f82e0e
#!/usr/bin/env python3
if
__name__
==
'__main__'
:
import
sys
import
pathlib
executable
=
pathlib
.
Path
(
sys
.
executable
or
'python3'
)
.
name
print
(
'WARNING: the pyenv script is deprecated in favour of '
f
'`{executable} -m venv`'
,
file
=
sys
.
stderr
)
rc
=
1
try
:
import
venv
venv
.
main
()
rc
=
0
except
Exception
as
e
:
print
(
'Error:
%
s'
%
e
,
file
=
sys
.
stderr
)
sys
.
exit
(
rc
)
setup.py
Dosyayı görüntüle @
a8c34246
...
...
@@ -2291,7 +2291,7 @@ class PyBuildScripts(build_scripts):
newoutfiles
=
[]
newupdated_files
=
[]
for
filename
in
outfiles
:
if
filename
.
endswith
(
(
'2to3'
,
'pyvenv'
)
):
if
filename
.
endswith
(
'2to3'
):
newfilename
=
filename
+
fullversion
else
:
newfilename
=
filename
+
minoronly
...
...
@@ -2359,7 +2359,7 @@ def main():
# check the PyBuildScripts command above, and change the links
# created by the bininstall target in Makefile.pre.in
scripts
=
[
"Tools/scripts/pydoc3"
,
"Tools/scripts/idle3"
,
"Tools/scripts/2to3"
,
"Tools/scripts/pyvenv"
]
"Tools/scripts/2to3"
]
)
# --install-platlib
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment