Commit 469c6272 authored by sumpfralle's avatar sumpfralle

updated release process documentation for distutils

added "provides=pycam" attribute


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@236 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 89b697d2
......@@ -6,11 +6,13 @@ EXPORT_DIR = $(RELEASE_PREFIX)$(VERSION)
EXPORT_FILE_PREFIX = $(EXPORT_DIR)
EXPORT_ZIP = $(EXPORT_FILE_PREFIX).zip
EXPORT_TGZ = $(EXPORT_FILE_PREFIX).tar.gz
EXPORT_WIN32 = $(EXPORT_FILE_PREFIX).win32.exe
EXPORT_ARCHIVE_DIR = $(EXPORT_DIR)/dist
.PHONY: zip tgz svn_export tag
.PHONY: zip tgz win32 clean dist svn_export tag
dist: zip tgz
dist: zip tgz win32
@# remove the tmp directory when everything is done
@rm -rf "$(EXPORT_DIR)"
......@@ -21,13 +23,18 @@ svn_export: clean
svn export --quiet "$(SVN_BASE)/trunk" "$(EXPORT_DIR)"
zip: svn_export
zip -9rq "$(EXPORT_ZIP)" "$(EXPORT_DIR)"
python "$(EXPORT_DIR)/setup.py" sdist --format zip
tgz: svn_export
tar czf "$(EXPORT_TGZ)" "$(EXPORT_DIR)"
python "$(EXPORT_DIR)/setup.py" sdist --format gztar
win32: svn_export
# this is a binary release
python "$(EXPORT_DIR)/setup.py" bdist --format wininst
tag:
svn cp "$(SVN_BASE)/trunk" "$(SVN_BASE)/tags/release-$(VERSION)" -m "tag release $(VERSION)"
svn import "$(EXPORT_ZIP)" "$(SVN_BASE)/tags/archives/$(EXPORT_ZIP)" -m "added released zip file for version $(VERSION)"
svn import "$(EXPORT_TGZ)" "$(SVN_BASE)/tags/archives/$(EXPORT_TGZ)" -m "added released tgz file for version $(VERSION)"
svn import "$(EXPORT_WIN32)" "$(SVN_BASE)/tags/archives/$(EXPORT_WIN32)" -m "added released win32 installer for version $(VERSION)"
1) update the version and the changelog
- in "pycam/Gui/gtk-interface/pycam-project.ui" ("version" in "GtkAboutDialog")
- in "Changelog"
- in "setup.py" and "setup.cfg"
- update the release date and the list of changes in "Changelog"
- commit the changes
......
......@@ -12,6 +12,7 @@ setup(
description="Open Source CAM - Toolpath Generation for 3-Axis CNC machining",
author="Lode Leroy",
#author_email="",
provides=["pycam"],
url="http://sourceforge.net/projects/pycam",
download_url="http://sourceforge.net/projects/pycam/files/pycam/0.2.1/pycam-0.2.1.tgz/download",
keywords=["3-axis", "cnc", "cam", "toolpath", "machining", "g-code"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment