$(version) = 1.0.7 $(version+1) = 1.0.8
Ensure you don't have any changes not commited:
git reset --hard
In kivy/__init__.py, remove '-dev' part in __version__
Commit:
git commit -am 'bump to $(version)' git tag $(version)
Change kivy/__init__.py __version__ to '$(version+1)-dev':
git commit -am 'bump to $(version+1-dev)'
Push everything:
git push origin master
Create source package and upload it:
python setup.py sdist upload
Remove website link on the url, otherwise right now, easy_install might not take the right package for linux:
http://pypi.python.org/pypi?name=Kivy&version=$(version)&:action=submit_form
Open git bash:
source ~/Desktop/Env.sh cd ~/Downloads/kivy git reset --hard git fetch git checkout $(version) python setup.py build_portable --deps-url=../portable-deps-win32.zip
Go on the ~/Download/kivy/ directory
Copy the Kivy-$(version)-w32.zip on the Desktop
Unzip the archive
Open shell:sendto
Make a shortcut of the ~/Bureau/Kivy-$(version)-w32/kivy.bat as Kivy $(version)
Test by opening one example and sent to Kivy $(version)
Ensure the name will be Kivy-$(version)-w32.zip:
- description: Kivy 1.0.7, Windows portable version (32 and 64 bits, bundled dependencies)
- labels: Featured + Type-Archive + OpSys-Windows
Change the Kivy-$(version-1)-w32.zip with Deprecated Label
Ensure you have bzr-builder installed:
sudo apt-get install bzr-builder cdbs pbuilder
Ensure pbuilder is created:
sudo pbuilder create --mirror http://archive.ubuntu.com/ubuntu --components "main universe"
Create a kivy-$(version).recipe:
# bzr-builder format 0.3 deb-version $(version) lp:kivy tag:$(version) # merge possible fixes # merge fix_manifest lp:kivy revno:507 # merge debian directory for building nest-part packaging lp:~tito-bankiz/+junk/kivy-ubuntu debian debian
Then execute the commands:
mkdir build-kivy bzr dailydeb --allow-fallback-to-native kivy-$(version).recipe build-kivy
Use pbuilder for testing generation of .deb:
sudo pbuilder build build-kivy/kivy_$(version).dsc
The result should be in /var/cache/pbuilder/result:
-rw-r--r-- 1 tito tito 1152 2011-07-21 18:01 kivy_1.0.7_amd64.changes -rw-r--r-- 1 tito tito 653 2011-07-21 17:59 kivy_1.0.7.dsc -rw-r--r-- 1 tito tito 4850748 2011-07-21 17:59 kivy_1.0.7.tar.gz -rw-r--r-- 1 tito tito 5689678 2011-07-21 18:01 python-kivy_1.0.7_amd64.deb
Optional, put it on ppa:
cd build-kivy/kivy-$(version) debuild -S -sa cd .. dput ppa:kivy-team/kivy kivy_1.0.7_source.changes
Note on dput: even if you have 550 error, it will be ok.
Clone or go to https://code.launchpad.net/~tito-bankiz/+junk/kivy-ubuntu
Go to kivy-ubuntu and update changelog:
dch -v $(version+1-dev)
Commit:
bzr commit -m 'Update to latest development version' bzr push