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
Show 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,11 +82,6 @@ def copy_eclipse_settings(name,return_path):
...
@@ -82,11 +82,6 @@ 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
+
"/"
)
if
not
os
.
path
.
isdir
(
name
+
"/"
+
EPS
):
print
(
"Not copying up files for Eclipse project: not an Eclipse project"
)
elif
os
.
path
.
isfile
(
name
+
"/.project"
):
print
(
"Not copying up files for Eclipse project: .project is already there"
)
# it does not have to be an Eclipse project
# it does not have to be an Eclipse project
if
(
not
os
.
path
.
islink
(
name
+
"/scripts"
)):
if
(
not
os
.
path
.
islink
(
name
+
"/scripts"
)):
# sub all character line into '..', keep '/'
# sub all character line into '..', keep '/'
...
@@ -96,6 +91,12 @@ def copy_eclipse_settings(name,return_path):
...
@@ -96,6 +91,12 @@ def copy_eclipse_settings(name,return_path):
print
(
"Linked scripts/ to project"
)
print
(
"Linked scripts/ to project"
)
if
not
os
.
path
.
isdir
(
name
+
"/"
+
EPS
):
print
(
"Not copying up files for Eclipse project: not an Eclipse project"
)
elif
os
.
path
.
isfile
(
name
+
"/.project"
):
print
(
"Not copying up files for Eclipse project: .project is already there"
)
def
read_local_conf
(
conf_file
,
pattern
):
def
read_local_conf
(
conf_file
,
pattern
):
ret
=
[]
ret
=
[]
if
os
.
path
.
isfile
(
conf_file
):
if
os
.
path
.
isfile
(
conf_file
):
...
...
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