Skip to content

Commit

Permalink
Merge pull request #39 from andfoy/add_release_instructions
Browse files Browse the repository at this point in the history
PR: Add release instructions
  • Loading branch information
andfoy authored Jul 15, 2017
2 parents 48d0a47 + dafb75c commit bb7d782
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
To release a new version of pywinpty:

## General steps

* git fetch upstream && git merge upstream/master

* Close release issue on github

* Update CHANGELOG.md with loghub

* Update VERSION_INFO in `__init__.py` (set release version, remove 'dev0')

* git add and git commit

* Open MSVC Command Prompt or execute msvarsall.bat script

* set DISTUTILS_USE_SDK=1

* python setup.py sdist

## Per each PY3 version (3.5/3.6) and each architecture (amd64/win32) we should do

* conda install winpty -c spyder-ide

* set LIBRARY_INC=<CONDA_ENV_PATH>\Library\include

* set LIBRARY_LIB=<CONDA_ENV_PATH>\Library\lib

* python setup.py bdist_wheel

## Uploading wheels

* twine upload dist\\*

**Note:** Do not forget to update conda packages

## Create github release

* git tag -a vX.X.X -m 'comment'

* Update VERSION_INFO in `__init__.py` (add 'dev0' and increment minor)

* git add and git commit

* git push upstream master

* git push upstream --tags

0 comments on commit bb7d782

Please sign in to comment.