Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel393
Commits
4a6dc45d
Commit
4a6dc45d
authored
Nov 21, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't like link to scripts in metas
parent
e8cf6029
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
setup.py
setup.py
+9
-8
No files found.
setup.py
View file @
4a6dc45d
...
@@ -82,19 +82,20 @@ def copy_eclipse_settings(name,return_path):
...
@@ -82,19 +82,20 @@ def copy_eclipse_settings(name,return_path):
print
(
bcolors
.
WARNING
+
" Copying "
+
name
+
"/"
+
EPS
+
" to "
+
name
+
"/"
+
bcolors
.
ENDC
)
print
(
bcolors
.
WARNING
+
" Copying "
+
name
+
"/"
+
EPS
+
" to "
+
name
+
"/"
+
bcolors
.
ENDC
)
shout
(
"rsync -av "
+
name
+
"/"
+
EPS
+
"/ "
+
name
+
"/"
)
shout
(
"rsync -av "
+
name
+
"/"
+
EPS
+
"/ "
+
name
+
"/"
)
# it does not have to be an Eclipse project
if
(
not
os
.
path
.
islink
(
name
+
"/scripts"
)):
# sub all character line into '..', keep '/'
#regex = re.compile(r"[^/]+")
#return_path = regex.sub("..",name)
shout
(
"ln -sf "
+
return_path
+
"/scripts "
+
name
+
"/scripts"
)
print
(
"Linked scripts/ to project"
)
if
not
os
.
path
.
isdir
(
name
+
"/"
+
EPS
):
if
not
os
.
path
.
isdir
(
name
+
"/"
+
EPS
):
print
(
"Not copying up files for Eclipse project: not an Eclipse project"
)
print
(
"Not copying up files for Eclipse project: not an Eclipse project"
)
elif
os
.
path
.
isfile
(
name
+
"/.project"
):
elif
os
.
path
.
isfile
(
name
+
"/.project"
):
print
(
"Not copying up files for Eclipse project: .project is already there"
)
print
(
"Not copying up files for Eclipse project: .project is already there"
)
# it does not have to be an Eclipse project
if
(
not
os
.
path
.
islink
(
name
+
"/scripts"
)):
# sub all character line into '..', keep '/'
#regex = re.compile(r"[^/]+")
#return_path = regex.sub("..",name)
shout
(
"ln -sf "
+
return_path
+
"/scripts "
+
name
+
"/scripts"
)
print
(
"Linked scripts/ to project"
)
def
read_local_conf
(
conf_file
,
pattern
):
def
read_local_conf
(
conf_file
,
pattern
):
ret
=
[]
ret
=
[]
...
...
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