Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pyMKcam
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
pyMKcam
Commits
a4c1edec
Commit
a4c1edec
authored
Jan 23, 2012
by
Paul Bonser
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://pycam.git.sourceforge.net/gitroot/pycam/pycam
parents
53f9c310
f9625ef3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
setup.py
setup.py
+4
-3
No files found.
setup.py
View file @
a4c1edec
...
@@ -35,8 +35,8 @@ import shutil
...
@@ -35,8 +35,8 @@ import shutil
from
pycam
import
VERSION
from
pycam
import
VERSION
WINDOWS_START_SCRIPT
=
"scripts/pycam-loader.py"
WINDOWS_START_SCRIPT
=
os
.
path
.
join
(
"scripts"
,
"pycam-loader.py"
)
DEFAULT_START_SCRIPT
=
"scripts/pycam"
DEFAULT_START_SCRIPT
=
os
.
path
.
join
(
"scripts"
,
"pycam"
)
# we don't want to include the windows postinstall script in other installers
# we don't want to include the windows postinstall script in other installers
is_windows_installer
=
"bdist_wininst"
in
sys
.
argv
or
"bdist_msi"
in
sys
.
argv
is_windows_installer
=
"bdist_wininst"
in
sys
.
argv
or
"bdist_msi"
in
sys
.
argv
...
@@ -44,7 +44,8 @@ is_windows_installer = "bdist_wininst" in sys.argv or "bdist_msi" in sys.argv
...
@@ -44,7 +44,8 @@ is_windows_installer = "bdist_wininst" in sys.argv or "bdist_msi" in sys.argv
if
is_windows_installer
:
if
is_windows_installer
:
shutil
.
copy2
(
os
.
path
.
join
(
BASE_DIR
,
DEFAULT_START_SCRIPT
),
shutil
.
copy2
(
os
.
path
.
join
(
BASE_DIR
,
DEFAULT_START_SCRIPT
),
os
.
path
.
join
(
BASE_DIR
,
WINDOWS_START_SCRIPT
))
os
.
path
.
join
(
BASE_DIR
,
WINDOWS_START_SCRIPT
))
PLATFORM_SCRIPTS
=
[
WINDOWS_START_SCRIPT
,
"scripts/pycam_win32_postinstall.py"
]
PLATFORM_SCRIPTS
=
[
WINDOWS_START_SCRIPT
,
os
.
path
.
join
(
"scripts"
,
"pycam_win32_postinstall.py"
)]
else
:
else
:
PLATFORM_SCRIPTS
=
[
DEFAULT_START_SCRIPT
]
PLATFORM_SCRIPTS
=
[
DEFAULT_START_SCRIPT
]
...
...
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