Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
A
awlsim
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Merge Requests
0
Merge Requests
0
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Michael Büsch
awlsim
Commits
d407cd38
Commit
d407cd38
authored
Oct 06, 2014
by
Michael Büsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move version info to common
Signed-off-by:
Michael Buesch
<
m@bues.ch
>
parent
b5b89b86
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
10 additions
and
7 deletions
+10
-7
awlsim-cli
awlsim-cli
+1
-0
awlsim-gui
awlsim-gui
+1
-0
awlsim-linuxcnc-hal
awlsim-linuxcnc-hal
+2
-1
awlsim-server
awlsim-server
+1
-0
awlsim-symtab
awlsim-symtab
+1
-1
awlsim/common/all_modules.py
awlsim/common/all_modules.py
+1
-0
awlsim/common/version.py
awlsim/common/version.py
+0
-0
awlsim/core/all_modules.py
awlsim/core/all_modules.py
+0
-1
awlsim/core/main.py
awlsim/core/main.py
+0
-1
makerelease.sh
makerelease.sh
+1
-1
py2exe-build.bat
py2exe-build.bat
+1
-1
setup.py
setup.py
+1
-1
No files found.
awlsim-cli
View file @
d407cd38
...
...
@@ -28,6 +28,7 @@ import getopt
import
traceback
import
signal
from
awlsim.common
import
*
from
awlsim.core
import
*
from
awlsim.coreclient
import
*
...
...
awlsim-gui
View file @
d407cd38
...
...
@@ -23,6 +23,7 @@
from
__future__
import
division
,
absolute_import
,
print_function
,
unicode_literals
from
awlsim.common.compat
import
*
from
awlsim.common
import
*
from
awlsim.gui
import
*
import
getopt
...
...
awlsim-linuxcnc-hal
View file @
d407cd38
...
...
@@ -27,10 +27,11 @@ import sys
import
os
import
getopt
from
awlsim.common.version
import
*
from
awlsim.core.main
import
*
from
awlsim.core.parser
import
*
from
awlsim.core.util
import
*
from
awlsim.core.version
import
VERSION_MAJOR
,
VERSION_MINOR
try
:
import
hal
as
LinuxCNC_HAL
...
...
awlsim-server
View file @
d407cd38
...
...
@@ -26,6 +26,7 @@ from awlsim.common.compat import *
import
sys
import
getopt
from
awlsim.common
import
*
from
awlsim.core
import
*
from
awlsim.coreserver
import
*
...
...
awlsim-symtab
View file @
d407cd38
...
...
@@ -26,7 +26,7 @@ from awlsim.common.compat import *
import
sys
import
getopt
from
awlsim.co
re.versi
on
import
*
from
awlsim.co
mm
on
import
*
from
awlsim.core.symbolparser
import
*
...
...
awlsim/common/all_modules.py
View file @
d407cd38
...
...
@@ -10,4 +10,5 @@ from awlsim.common.project import *
from
awlsim.common.subprocess
import
*
from
awlsim.common.templates
import
*
from
awlsim.common.util
import
*
from
awlsim.common.version
import
*
from
awlsim.common.wordpacker
import
*
awlsim/co
re
/version.py
→
awlsim/co
mmon
/version.py
View file @
d407cd38
File moved
awlsim/core/all_modules.py
View file @
d407cd38
...
...
@@ -6,4 +6,3 @@ from awlsim.core.cpu import *
from
awlsim.core.hardware
import
*
from
awlsim.core.parser
import
*
from
awlsim.core.util
import
*
from
awlsim.core.version
import
*
awlsim/core/main.py
View file @
d407cd38
...
...
@@ -24,7 +24,6 @@ from awlsim.common.compat import *
from
awlsim.common.project
import
*
from
awlsim.core.version
import
*
from
awlsim.core.util
import
*
from
awlsim.core.parser
import
*
from
awlsim.core.cpu
import
*
...
...
makerelease.sh
View file @
d407cd38
...
...
@@ -15,7 +15,7 @@ done
hook_get_version
()
{
local
file
=
"
$1
/awlsim/co
re
/version.py"
local
file
=
"
$1
/awlsim/co
mmon
/version.py"
local
maj
=
"
$(
cat
"
$file
"
|
grep
-e
VERSION_MAJOR |
head
-n1
|
awk
'{print $3;}'
)
"
local
min
=
"
$(
cat
"
$file
"
|
grep
-e
VERSION_MINOR |
head
-n1
|
awk
'{print $3;}'
)
"
version
=
"
$maj
.
$min
"
...
...
py2exe-build.bat
View file @
d407cd38
...
...
@@ -2,7 +2,7 @@
SET
PATH
=
%PATH%
;
C
:\WINDOWS
;
C
:\WINDOWS\SYSTEM32
;
C
:\PYTHON34
;
%ProgramFiles%
\7
-Zip
py
-c
"from awlsim.co
re
.version import VERSION_MAJOR, VERSION_MINOR; print('
%%d
.
%%d
'
%%
(VERSION_MAJOR, VERSION_MINOR))"
>
version
.txt
py
-c
"from awlsim.co
mmon
.version import VERSION_MAJOR, VERSION_MINOR; print('
%%d
.
%%d
'
%%
(VERSION_MAJOR, VERSION_MINOR))"
>
version
.txt
set
/p
version
=
<
version
.txt
set
distdir
=
awlsim
-win-standalone
-
%version%
...
...
setup.py
View file @
d407cd38
...
...
@@ -11,7 +11,7 @@ import shutil
import
hashlib
from
distutils.core
import
setup
from
distutils.extension
import
Extension
from
awlsim.co
re
.version
import
VERSION_MAJOR
,
VERSION_MINOR
from
awlsim.co
mmon
.version
import
VERSION_MAJOR
,
VERSION_MINOR
try
:
import
py2exe
except
ImportError
as
e
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment