Skip to content

Commit

Permalink
Minor debugger update
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Oct 8, 2023
1 parent 90ad958 commit fc711f3
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 12 deletions.
4 changes: 4 additions & 0 deletions plugins/com.python.pydev.docs/release_process.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ x:\liclipsews\liclipsews\Pydev\builders\org.python.pydev.build\build_cmd.bat
throws an exception (it cannot be installed in the environment)

Create tab in cmdermini:
activate py311_64
set FORCE_PYDEVD_VC_VARS=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat
X:\liclipsews\liclipsews\Pydev\builders\org.python.pydev.build\build_cmd.bat

Expand Down Expand Up @@ -89,6 +90,9 @@ cd org.python.pydev.p2-repo-11.0.0-SNAPSHOT

cdd X:\pydev_build\build_dir\pydev\features\org.python.pydev.p2-repo\target\org.python.pydev.p2-repo-11.0.0-SNAPSHOT
C:\Users\fabio\AppData\Roaming\npm\surge.cmd --domain pydev-11-0-0.surge.sh

Add update site to SourceForge (create directory with version and push it).

"C:\Program Files\FileZilla FTP Client\filezilla.exe" sftp://fabioz,pydev@frs.sourceforge.net/home/project-web/pydev/htdocs/pydev_update_site --local="X:\pydev_build\build_dir\pydev\features\org.python.pydev.p2-repo\target\org.python.pydev.p2-repo-11.0.0-SNAPSHOT"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
r'%s\py39_64\python.exe' % miniconda_envs,
r'%s\py310_64\python.exe' % miniconda_envs,
r'%s\py311_64\python.exe' % miniconda_envs,
r'%s\py312_64\python.exe' % miniconda_envs,

# See: build_tools\pydevd_release_process.txt when adding a new one
]

root_dir = os.path.dirname(os.path.dirname(__file__))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,30 +68,42 @@ pip install -U "setuptools>=0.9"
pip install -U "pip>=1.4" "wheel>=0.21" twine
conda deactivate

conda create -y -f -n py312_64 python=3.11 -c conda-forge
activate py312_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

activate py36_64
pip install cython==0.29.32
pip install cython==3.0.3
conda deactivate

activate py37_64
pip install cython==0.29.32
pip install cython==3.0.3
conda deactivate

activate py38_64
pip install cython==0.29.32
pip install cython==3.0.3
conda deactivate

activate py39_64
pip install cython==0.29.32
pip install cython==3.0.3
conda deactivate

activate py310_64
pip install cython==0.29.32
pip install cython==3.0.3
conda deactivate

activate py311_64
pip install cython==0.29.32
pip install cython==3.0.3
conda deactivate

activate py312_64
pip install cython==3.0.3
conda deactivate

Regenerate the .pyx and .c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,10 @@ def native_to_win32_pathname(name):
# XXX TODO
# There are probably some native paths that
# won't be converted by this naive approach.
if name.startswith(compat.b("\\")):
if name.startswith(compat.b("\\??\\")):
if name.startswith("\\"):
if name.startswith("\\??\\"):
name = name[4:]
elif name.startswith(compat.b("\\SystemRoot\\")):
elif name.startswith("\\SystemRoot\\"):
system_root_path = os.environ['SYSTEMROOT']
if system_root_path.endswith('\\'):
system_root_path = system_root_path[:-1]
Expand All @@ -312,10 +312,10 @@ def native_to_win32_pathname(name):
win32.ERROR_PATH_NOT_FOUND):
continue
raise
if not device_native_path.endswith(compat.b('\\')):
device_native_path += compat.b('\\')
if not device_native_path.endswith('\\'):
device_native_path += '\\'
if name.startswith(device_native_path):
name = drive_letter + compat.b('\\') + \
name = drive_letter + '\\' + \
name[ len(device_native_path) : ]
break
return name
Expand Down

0 comments on commit fc711f3

Please sign in to comment.