mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Update pydevd to 2.9.5 (available with Apache lic now).
This commit is contained in:
parent
c419d5a7fd
commit
6c3dca7918
9 changed files with 256 additions and 167 deletions
176
src/debugpy/_vendored/pydevd/LICENSE-APACHE
Normal file
176
src/debugpy/_vendored/pydevd/LICENSE-APACHE
Normal file
|
|
@ -0,0 +1,176 @@
|
|||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
include *.rst *.txt *.md LICENSE *.pyx *.cpp *.hpp
|
||||
include *.rst *.txt *.md LICENSE-EPL LICENSE-APACHE *.pyx *.cpp *.hpp
|
||||
recursive-include pydevd_attach_to_process *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
|
||||
recursive-include pydevd_attach_to_process/common *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
|
||||
recursive-include pydevd_attach_to_process/linux_and_mac *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
|
||||
|
|
|
|||
|
|
@ -23,18 +23,3 @@ For `Python 2` please keep using `pydevd 2.8.0`.
|
|||
Recent versions contain speedup modules using Cython, which are generated with a few changes in the regular files
|
||||
to `cythonize` the files. To update and compile the cython sources (and generate some other auto-generated files),
|
||||
`build_tools/build.py` should be run -- note that the resulting .pyx and .c files should be commited.
|
||||
|
||||
To generate a distribution with the precompiled binaries for the IDE, `build_binaries_windows.py` should be run (
|
||||
note that the environments must be pre-created as specified in that file).
|
||||
|
||||
To generate a distribution to upload to PyPi, `python setup.py sdist bdist_wheel` should be run for each python version
|
||||
which should have a wheel and afterwards `twine upload -s dist/pydevd-*` should be run to actually upload the contents
|
||||
to PyPi.
|
||||
|
||||
GitHub Actions (CI):
|
||||
|
||||
.. |github_actions| https://github.com/fabioz/PyDev.Debugger/workflows/PyDev.Debugger Tests/badge.svg
|
||||
:target: https://github.com/fabioz/PyDev.Debugger/workflows/PyDev.Debugger Tests/badge.svg
|
||||
|
||||
|github_actions|
|
||||
|
||||
|
|
@ -103,42 +103,39 @@ def build():
|
|||
# set DISTUTILS_USE_SDK=1
|
||||
# set VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools
|
||||
|
||||
env = os.environ.copy()
|
||||
if sys.version_info[:2] in ((2, 6), (2, 7), (3, 5), (3, 6), (3, 7), (3, 8), (3, 9), (3, 10), (3, 11)):
|
||||
import setuptools # We have to import it first for the compiler to be found
|
||||
from distutils import msvc9compiler
|
||||
if 'GITHUB_ACTION' not in os.environ:
|
||||
env = os.environ.copy()
|
||||
if sys.version_info[:2] in ((3, 6), (3, 7), (3, 8), (3, 9), (3, 10), (3, 11)):
|
||||
FORCE_PYDEVD_VC_VARS = os.environ.get('FORCE_PYDEVD_VC_VARS')
|
||||
if FORCE_PYDEVD_VC_VARS:
|
||||
env.update(get_environment_from_batch_command([FORCE_PYDEVD_VC_VARS], initial=os.environ.copy()))
|
||||
else:
|
||||
import setuptools # We have to import it first for the compiler to be found
|
||||
from distutils import msvc9compiler
|
||||
|
||||
if sys.version_info[:2] in ((2, 6), (2, 7)):
|
||||
vcvarsall = msvc9compiler.find_vcvarsall(9.0)
|
||||
elif sys.version_info[:2] in ((3, 5), (3, 6), (3, 7), (3, 8), (3, 9), (3, 10), (3, 11)):
|
||||
vcvarsall = msvc9compiler.find_vcvarsall(14.0)
|
||||
if vcvarsall is None or not os.path.exists(vcvarsall):
|
||||
raise RuntimeError('Error finding vcvarsall.')
|
||||
vcvarsall = msvc9compiler.find_vcvarsall(14.0)
|
||||
if vcvarsall is None or not os.path.exists(vcvarsall):
|
||||
msvc_version = msvc9compiler.get_build_version()
|
||||
print('msvc_version', msvc_version)
|
||||
vcvarsall = msvc9compiler.find_vcvarsall(msvc_version)
|
||||
|
||||
if vcvarsall is None or not os.path.exists(vcvarsall):
|
||||
raise RuntimeError('Error finding vcvarsall.')
|
||||
|
||||
if is_python_64bit():
|
||||
env.update(get_environment_from_batch_command(
|
||||
[vcvarsall, 'amd64'],
|
||||
initial=os.environ.copy()))
|
||||
else:
|
||||
env.update(get_environment_from_batch_command(
|
||||
[vcvarsall, 'x86'],
|
||||
initial=os.environ.copy()))
|
||||
|
||||
if is_python_64bit():
|
||||
env.update(get_environment_from_batch_command(
|
||||
[vcvarsall, 'amd64'],
|
||||
initial=os.environ.copy()))
|
||||
else:
|
||||
env.update(get_environment_from_batch_command(
|
||||
[vcvarsall, 'x86'],
|
||||
initial=os.environ.copy()))
|
||||
raise AssertionError('Unable to setup environment for Python: %s' % (sys.version,))
|
||||
|
||||
elif sys.version_info[:2] in ((3, 3), (3, 4)):
|
||||
if is_python_64bit():
|
||||
env.update(get_environment_from_batch_command(
|
||||
[r"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd", '/x64'],
|
||||
initial=os.environ.copy()))
|
||||
else:
|
||||
env.update(get_environment_from_batch_command(
|
||||
[r"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd", '/x86'],
|
||||
initial=os.environ.copy()))
|
||||
|
||||
else:
|
||||
raise AssertionError('Unable to setup environment for Python: %s' % (sys.version,))
|
||||
|
||||
env['MSSdk'] = '1'
|
||||
env['DISTUTILS_USE_SDK'] = '1'
|
||||
env['MSSdk'] = '1'
|
||||
env['DISTUTILS_USE_SDK'] = '1'
|
||||
|
||||
additional_args = []
|
||||
for arg in sys.argv:
|
||||
|
|
|
|||
|
|
@ -16,18 +16,12 @@ import sys
|
|||
miniconda_envs = os.getenv('MINICONDA_ENVS', r'C:\bin\Miniconda3\envs')
|
||||
|
||||
python_installations = [
|
||||
|
||||
r'%s\py36_32\python.exe' % miniconda_envs,
|
||||
r'%s\py37_32\python.exe' % miniconda_envs,
|
||||
r'%s\py38_32\python.exe' % miniconda_envs,
|
||||
r'%s\py39_32\python.exe' % miniconda_envs,
|
||||
r'%s\py310_32\python.exe' % miniconda_envs,
|
||||
|
||||
r'%s\py36_64\python.exe' % miniconda_envs,
|
||||
r'%s\py37_64\python.exe' % miniconda_envs,
|
||||
r'%s\py38_64\python.exe' % miniconda_envs,
|
||||
r'%s\py39_64\python.exe' % miniconda_envs,
|
||||
r'%s\py310_64\python.exe' % miniconda_envs,
|
||||
r'%s\py311_64\python.exe' % miniconda_envs,
|
||||
]
|
||||
|
||||
root_dir = os.path.dirname(os.path.dirname(__file__))
|
||||
|
|
|
|||
|
|
@ -7,46 +7,6 @@ __version_info__ in pydevd.py
|
|||
2. Create conda envs
|
||||
=====================
|
||||
|
||||
set CONDA_FORCE_32BIT=1
|
||||
|
||||
conda create -y -f -n py36_32 python=3.6 cython numpy nose ipython pip
|
||||
activate py36_32
|
||||
pip install "django>=1.9"
|
||||
pip install -U "setuptools>=0.9"
|
||||
pip install -U "pip>=1.4" "wheel>=0.21" twine
|
||||
conda deactivate
|
||||
|
||||
conda create -y -f -n py37_32 python=3.7 cython numpy pip
|
||||
activate py37_32
|
||||
pip install "django>=1.9"
|
||||
pip install -U "setuptools>=0.9"
|
||||
pip install -U "pip>=1.4" "wheel>=0.21" twine
|
||||
conda deactivate
|
||||
|
||||
conda create -y -f -n py38_32 python=3.8 cython pip
|
||||
activate py38_32
|
||||
pip install "django>=1.9"
|
||||
pip install -U "setuptools>=0.9"
|
||||
pip install -U "pip>=1.4" "wheel>=0.21" twine
|
||||
conda deactivate
|
||||
|
||||
conda create -y -f -n py39_32 python=3.9 cython pip
|
||||
activate py39_32
|
||||
pip install "django>=1.9"
|
||||
pip install -U "setuptools>=0.9"
|
||||
pip install -U "pip>=1.4" "wheel>=0.21" twine
|
||||
conda deactivate
|
||||
|
||||
conda create -y -f -n py310_32 python=3.10 cython pip
|
||||
activate py310_32
|
||||
pip install "django>=1.9"
|
||||
pip install -U "setuptools>=0.9"
|
||||
pip install -U "pip>=1.4" "wheel>=0.21" twine
|
||||
conda deactivate
|
||||
|
||||
|
||||
set CONDA_FORCE_32BIT=
|
||||
|
||||
conda create -y -f -n py36_64 python=3.6 cython numpy nose ipython pip
|
||||
activate py36_64
|
||||
pip install "django>=1.9"
|
||||
|
|
@ -82,64 +42,53 @@ pip install -U "setuptools>=0.9"
|
|||
pip install -U "pip>=1.4" "wheel>=0.21" twine
|
||||
conda deactivate
|
||||
|
||||
conda create -y -f -n py311_64 python=3.11 -c conda-forge
|
||||
activate py311_64
|
||||
pip install cython
|
||||
pip install "django>=1.9"
|
||||
pip install -U "setuptools>=0.9"
|
||||
pip install -U "pip>=1.4" "wheel>=0.21" twine
|
||||
conda deactivate
|
||||
|
||||
### UPDATE CYTHON
|
||||
|
||||
set CONDA_FORCE_32BIT=1
|
||||
|
||||
activate py36_32
|
||||
pip install cython==0.29.28
|
||||
conda deactivate
|
||||
|
||||
activate py37_32
|
||||
pip install cython==0.29.28
|
||||
conda deactivate
|
||||
|
||||
activate py38_32
|
||||
pip install cython==0.29.28
|
||||
conda deactivate
|
||||
|
||||
activate py39_32
|
||||
pip install cython==0.29.28
|
||||
conda deactivate
|
||||
|
||||
activate py310_32
|
||||
pip install cython==0.29.28
|
||||
conda deactivate
|
||||
|
||||
set CONDA_FORCE_32BIT=
|
||||
|
||||
activate py36_64
|
||||
pip install cython==0.29.28
|
||||
pip install cython==0.29.32
|
||||
conda deactivate
|
||||
|
||||
activate py37_64
|
||||
pip install cython==0.29.28
|
||||
pip install cython==0.29.32
|
||||
conda deactivate
|
||||
|
||||
activate py38_64
|
||||
pip install cython==0.29.28
|
||||
pip install cython==0.29.32
|
||||
conda deactivate
|
||||
|
||||
activate py39_64
|
||||
pip install cython==0.29.28
|
||||
pip install cython==0.29.32
|
||||
conda deactivate
|
||||
|
||||
activate py310_64
|
||||
pip install cython==0.29.28
|
||||
pip install cython==0.29.32
|
||||
conda deactivate
|
||||
|
||||
activate py311_64
|
||||
pip install cython==0.29.32
|
||||
conda deactivate
|
||||
|
||||
4. Regenerate the .pyx and .c
|
||||
===============================
|
||||
|
||||
set FORCE_PYDEVD_VC_VARS=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat
|
||||
cd /D x:\pydev\plugins\org.python.pydev.core\pysrc
|
||||
set PYTHONPATH=x:\pydev\plugins\org.python.pydev.core\pysrc
|
||||
python build_tools\build.py
|
||||
C:\bin\Miniconda\envs\py_38_tests\python.exe build_tools\build.py
|
||||
|
||||
${ptvsd_folder}
|
||||
"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
|
||||
cd /D X:\ptvsd_workspace\ptvsd\src\debugpy\_vendored\pydevd
|
||||
set PYTHONPATH=X:\ptvsd_workspace\ptvsd\src\debugpy\_vendored\pydevd
|
||||
python build_tools\build.py
|
||||
|
||||
C:\bin\Miniconda\envs\py_38_tests\python.exe build_tools\build.py
|
||||
|
||||
cd ~/Desktop/Pydev/plugins/org.python.pydev.core/pysrc
|
||||
export PYTHONPATH=~/Desktop/Pydev/plugins/org.python.pydev.core/pysrc
|
||||
|
|
@ -148,69 +97,51 @@ python build_tools/build.py
|
|||
3. Generate new version
|
||||
======================
|
||||
|
||||
cd /D x:\PyDev.Debugger
|
||||
cd /D x:\debugpyws\PyDev.Debugger
|
||||
|
||||
set PYTHONPATH=x:\PyDev.Debugger
|
||||
set MINICONDA_ENVS=C:\bin\Miniconda3\envs
|
||||
conda deactivate
|
||||
C:\bin\Python38-32\python build_tools\build.py
|
||||
C:\bin\Python38-32\python build_tools\build_binaries_windows.py
|
||||
set FORCE_PYDEVD_VC_VARS=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat
|
||||
|
||||
set PYTHONPATH=x:\debugpyws\PyDev.Debugger
|
||||
set MINICONDA_ENVS=D:\bin\miniconda\envs
|
||||
python build_tools\build.py
|
||||
python build_tools\build_binaries_windows.py
|
||||
|
||||
rm dist/pydevd*
|
||||
|
||||
activate py36_32
|
||||
python setup.py sdist bdist_wheel
|
||||
conda deactivate
|
||||
dir dist
|
||||
|
||||
activate py37_32
|
||||
python setup.py sdist bdist_wheel
|
||||
conda deactivate
|
||||
dir dist
|
||||
|
||||
activate py38_32
|
||||
python setup.py sdist bdist_wheel
|
||||
conda deactivate
|
||||
dir dist
|
||||
|
||||
activate py39_32
|
||||
python setup.py sdist bdist_wheel
|
||||
conda deactivate
|
||||
dir dist
|
||||
|
||||
activate py310_32
|
||||
python setup.py sdist bdist_wheel
|
||||
conda deactivate
|
||||
dir dist
|
||||
deactivate
|
||||
|
||||
activate py36_64
|
||||
python setup.py sdist bdist_wheel
|
||||
conda deactivate
|
||||
deactivate
|
||||
dir dist
|
||||
|
||||
activate py37_64
|
||||
python setup.py sdist bdist_wheel
|
||||
conda deactivate
|
||||
deactivate
|
||||
dir dist
|
||||
|
||||
activate py38_64
|
||||
python setup.py sdist bdist_wheel
|
||||
conda deactivate
|
||||
deactivate
|
||||
dir dist
|
||||
|
||||
activate py39_64
|
||||
python setup.py sdist bdist_wheel
|
||||
conda deactivate
|
||||
deactivate
|
||||
dir dist
|
||||
|
||||
activate py310_64
|
||||
python setup.py sdist bdist_wheel
|
||||
conda deactivate
|
||||
deactivate
|
||||
dir dist
|
||||
|
||||
activate py311_64
|
||||
python setup.py sdist bdist_wheel
|
||||
deactivate
|
||||
dir dist
|
||||
|
||||
# Note: uploading with twine gives an error in the end, but apparently it works (check final result in pypi).
|
||||
twine upload dist/pydevd*
|
||||
twine upload dist/pydevd* --repository pydevd
|
||||
|
||||
git tag pydev_debugger_2_8_0 -a -m "PyDev.Debugger 2.8.0"
|
||||
git tag pydev_debugger_2_9_5 -a -m "PyDev.Debugger 2.9.5"
|
||||
git push --tags
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ if SUPPORT_GEVENT:
|
|||
if USE_CUSTOM_SYS_CURRENT_FRAMES_MAP:
|
||||
from _pydevd_bundle.pydevd_constants import constructed_tid_to_last_frame
|
||||
|
||||
__version_info__ = (2, 9, 1)
|
||||
__version_info__ = (2, 9, 5)
|
||||
__version_info_str__ = []
|
||||
for v in __version_info__:
|
||||
__version_info_str__.append(str(v))
|
||||
|
|
|
|||
|
|
@ -53,13 +53,18 @@ for root, dirs, files in os.walk("pydevd_attach_to_process"):
|
|||
import pydevd
|
||||
version = pydevd.__version__
|
||||
|
||||
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.md'), 'r', encoding='utf-8') as stream:
|
||||
long_description = stream.read()
|
||||
|
||||
args = dict(
|
||||
name='pydevd',
|
||||
version=version,
|
||||
description='PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)',
|
||||
long_description_content_type='text/markdown',
|
||||
long_description=long_description,
|
||||
author='Fabio Zadrozny and others',
|
||||
url='https://github.com/fabioz/PyDev.Debugger/',
|
||||
license='EPL (Eclipse Public License)',
|
||||
license='EPL, Apache 2.0',
|
||||
packages=[
|
||||
'_pydev_bundle',
|
||||
'_pydev_bundle.fsnotify',
|
||||
|
|
@ -101,6 +106,7 @@ args = dict(
|
|||
'Intended Audience :: Developers',
|
||||
|
||||
'License :: OSI Approved :: Eclipse Public License 1.0 (EPL-1.0)',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
|
||||
'Operating System :: MacOS :: MacOS X',
|
||||
'Operating System :: Microsoft :: Windows',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue