Files
openide/python/helpers/pydev/build_tools/pydevd_release_process.txt
Rustam Vishnyakov 123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00

215 lines
4.5 KiB
Plaintext

1. Update version
=================
__version_info__ in pydevd.py
2. Create conda envs
=====================
set CONDA_FORCE_32BIT=1
conda create -y -f -n py27_32 python=2.7 cython numpy nose ipython pip
activate py27_32
pip install "django>=1.7,<1.8"
pip install -U "setuptools>=0.9"
pip install -U "pip>=1.4" "wheel>=0.21" twine
deactivate
conda create -y -f -n py34_32 python=3.4 cython numpy nose ipython pip
activate py34_32
pip install "django>=1.9"
pip install -U "setuptools>=0.9"
pip install -U "pip>=1.4" "wheel>=0.21" twine
deactivate
conda create -y -f -n py35_32 python=3.5 cython numpy nose ipython pip
activate py35_32
pip install "django>=1.9"
pip install -U "setuptools>=0.9"
pip install -U "pip>=1.4" "wheel>=0.21" twine
deactivate
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
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
deactivate
set CONDA_FORCE_32BIT=
conda create -y -f -n py27_64 python=2.7 cython numpy nose ipython pip
activate py27_64
pip install "django>=1.7,<1.8"
pip install -U "setuptools>=0.9"
pip install -U "pip>=1.4" "wheel>=0.21" twine
deactivate
conda create -y -f -n py34_64 python=3.4 cython numpy nose ipython pip
activate py34_64
pip install "django>=1.9"
pip install -U "setuptools>=0.9"
pip install -U "pip>=1.4" "wheel>=0.21" twine
deactivate
conda create -y -f -n py35_64 python=3.5 cython numpy nose ipython pip
activate py35_64
pip install "django>=1.9"
pip install -U "setuptools>=0.9"
pip install -U "pip>=1.4" "wheel>=0.21" twine
deactivate
conda create -y -f -n py36_64 python=3.6 cython numpy nose ipython pip
activate py36_64
pip install "django>=1.9"
pip install -U "setuptools>=0.9"
pip install -U "pip>=1.4" "wheel>=0.21" twine
deactivate
conda create -y -f -n py37_64 python=3.7 cython numpy nose ipython pip
activate py37_64
pip install "django>=1.9"
pip install -U "setuptools>=0.9"
pip install -U "pip>=1.4" "wheel>=0.21" twine
deactivate
### UPDATE CYTHON
set CONDA_FORCE_32BIT=1
activate py27_32
conda update -y cython
deactivate
activate py34_32
conda update -y cython
deactivate
activate py35_32
conda update -y cython
deactivate
activate py36_32
conda update -y cython
deactivate
activate py37_32
conda update -y cython
deactivate
set CONDA_FORCE_32BIT=
activate py27_64
conda update -y cython
deactivate
activate py34_64
conda update -y cython
deactivate
activate py35_64
conda update -y cython
deactivate
activate py36_64
conda update -y cython
deactivate
activate py37_64
conda update -y cython
deactivate
4. Regenerate the .pyx and .c
===============================
cd /D x:\pydev\plugins\org.python.pydev.core\pysrc
set PYTHONPATH=x:\pydev\plugins\org.python.pydev.core\pysrc
C:\bin\Miniconda\envs\py36_64\python build_tools\build.py
cd ~/Desktop/Pydev/plugins/org.python.pydev.core/pysrc
export PYTHONPATH=~/Desktop/Pydev/plugins/org.python.pydev.core/pysrc
python build_tools/build.py
cd /D X:\ptvsd_workspace\ptvsd\src\ptvsd\_vendored\pydevd
set PYTHONPATH=X:\ptvsd_workspace\ptvsd\src\ptvsd\_vendored\pydevd
C:\bin\Miniconda\envs\py36_64\python build_tools\build.py
3. Generate new version
======================
cd /D x:\PyDev.Debugger
set PYTHONPATH=x:\PyDev.Debugger
deactivate
C:\bin\Miniconda\envs\py36_64\python build_tools\build.py
C:\bin\Miniconda\envs\py36_64\python build_tools\build_binaries_windows.py
rm dist/pydevd*
activate py27_32
python setup.py sdist bdist_wheel
deactivate
dir dist
activate py34_32
python setup.py sdist bdist_wheel
deactivate
dir dist
activate py35_32
python setup.py sdist bdist_wheel
deactivate
dir dist
activate py36_32
python setup.py sdist bdist_wheel
deactivate
dir dist
activate py37_32
python setup.py sdist bdist_wheel
deactivate
dir dist
activate py27_64
python setup.py sdist bdist_wheel
deactivate
dir dist
activate py34_64
python setup.py sdist bdist_wheel
deactivate
dir dist
activate py35_64
python setup.py sdist bdist_wheel
deactivate
dir dist
activate py36_64
python setup.py sdist bdist_wheel
deactivate
dir dist
activate py37_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*
git tag pydev_debugger_1_4_0 -a -m "PyDev.Debugger 1.4.0"
git push --tags