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: ...@@ -172,6 +172,7 @@ class ProjectGui:
self._preferences_window_visible = False self._preferences_window_visible = False
# "about" window # "about" window
self.about_window = self.gui.get_object("AboutWindow") 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) self.gui.get_object("About").connect("activate", self.toggle_about_window, True)
# "unit change" window # "unit change" window
self.unit_change_window = self.gui.get_object("UnitChangeDialog") 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 ...@@ -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="gravity">center</property>
<property name="has_separator">False</property> <property name="has_separator">False</property>
<property name="program_name">PyCAM</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 <property name="copyright" translatable="yes">Copyright &#xA9; 2008-2010 Lode Leroy
Copyright &#xA9; 2010 Lars Kruse</property> Copyright &#xA9; 2010 Lars Kruse</property>
<property name="comments" translatable="yes">Toolpath Generation for 3-Axis CNC machining</property> <property name="comments" translatable="yes">Toolpath Generation for 3-Axis CNC machining</property>
......
1) update the version and the changelog 1) update the version and the changelog
- in "pycam/Gui/gtk-interface/pycam-project.ui" ("version" in "GtkAboutDialog") - in "Changelog" (version, release date, changes)
- in "Changelog" - in "pycam/__init__.py" (version)
- in "setup.py"
- in "pycam/__init__.py"
- update the release date and the list of changes in "Changelog"
- commit the changes - commit the changes
2) create the archives 2) create the archives
......
...@@ -24,12 +24,13 @@ along with PyCAM. If not, see <http://www.gnu.org/licenses/>. ...@@ -24,12 +24,13 @@ along with PyCAM. If not, see <http://www.gnu.org/licenses/>.
from distutils.core import setup from distutils.core import setup
import distutils.sysconfig import distutils.sysconfig
from pycam import VERSION
import glob import glob
import os.path import os.path
setup( setup(
name="pycam", name="pycam",
version="0.2.5", version=VERSION,
license="GPL v3", license="GPL v3",
description="Open Source CAM - Toolpath Generation for 3-Axis CNC machining", description="Open Source CAM - Toolpath Generation for 3-Axis CNC machining",
author="Lode Leroy", 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