forked from blink1073/oct2py
-
Notifications
You must be signed in to change notification settings - Fork 1
/
release.txt
43 lines (42 loc) · 1.33 KB
/
release.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Release Checklist:
- Update HISTOYR.py
- Check links in README on github
- Change VERSION in setup.py
- Run `make test` and `make coverage` (shoot for >90%)
- Create a tag and a new branch for the version
- Upload to github
- Create and upload files and documentation
- Upload to bitbucket
First time:
-- pip install mercurial
-- pip install hg-git
-- git clone https://github.com/jelmer/dulwich.git c:\hg-git
-- ~/.hgrc:
[extensions]
bookmarks =
hggit = C:\hg-git\hggit
-- hg clone git://github.com/blink1073/oct2py oct2py-hg
-- oct2py-hg/.hg/hgrc
[paths]
source = git://github.com/blink1073/oct2py.git
upstream-rw = https://bitbucket.org/blink1073/oct2py/
After that:
-- cd oct2py-hg
-- hg pull source
-- hg push upstream-rw
Release Commands:
pip install sphinx-pypi-upload
# make sure you are not in a virtual environment
deactivate
rm -r dist build
make clean
git tag x.x.x; git branch vx.x.x
git push upstream-rw master vx.x.x
python setup.py register
python setup.py bdist_wininst --target-version=2.7 upload # on linux, use wine
python setup.py bdist_wininst --target-version=3.2 upload
python setup.py bdist_wininst --target-version=3.3 upload
python setup.py sdist --formats=gztar,zip upload
# note: this appears to have broken with the anaconda install
python setup.py build_sphinx
python setup.py upload_sphinx