Commit 5e3ea06a authored by sumpfralle's avatar sumpfralle

use the version number to a single source: pycam.VERSION


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@397 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 5f1dcec2
......@@ -172,6 +172,7 @@ class ProjectGui:
self._preferences_window_visible = False
# "about" window
self.about_window = self.gui.get_object("AboutWindow")
self.about_window.set_version(VERSION)
self.gui.get_object("About").connect("activate", self.toggle_about_window, True)
# "unit change" window
self.unit_change_window = self.gui.get_object("UnitChangeDialog")
......
......@@ -3306,7 +3306,7 @@ It is significantly faster, but the current release of ODE contains a nasty bug
<property name="gravity">center</property>
<property name="has_separator">False</property>
<property name="program_name">PyCAM</property>
<property name="version">0.2.5</property>
<property name="version">0.1</property>
<property name="copyright" translatable="yes">Copyright &#xA9; 2008-2010 Lode Leroy
Copyright &#xA9; 2010 Lars Kruse</property>
<property name="comments" translatable="yes">Toolpath Generation for 3-Axis CNC machining</property>
......
1) update the version and the changelog
- in "pycam/Gui/gtk-interface/pycam-project.ui" ("version" in "GtkAboutDialog")
- in "Changelog"
- in "setup.py"
- in "pycam/__init__.py"
- update the release date and the list of changes in "Changelog"
- in "Changelog" (version, release date, changes)
- in "pycam/__init__.py" (version)
- commit the changes
2) create the archives
......
......@@ -24,12 +24,13 @@ along with PyCAM. If not, see <http://www.gnu.org/licenses/>.
from distutils.core import setup
import distutils.sysconfig
from pycam import VERSION
import glob
import os.path
setup(
name="pycam",
version="0.2.5",
version=VERSION,
license="GPL v3",
description="Open Source CAM - Toolpath Generation for 3-Axis CNC machining",
author="Lode Leroy",
......
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