Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
agkyra
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
agkyra
Commits
9d91053d
Commit
9d91053d
authored
9 years ago
by
Giorgos Korfiatis
Browse files
Options
Downloads
Patches
Plain Diff
update make_package (simple wheel packaging)
parent
02afce9f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
make_package.sh
+7
-18
7 additions, 18 deletions
make_package.sh
with
7 additions
and
18 deletions
make_package.sh
+
7
−
18
View file @
9d91053d
...
...
@@ -18,15 +18,11 @@ CURPWD=$(pwd)
cd
"
$(
dirname
"
$0
"
)
"
ROOTPATH
=
$(
pwd
)
os
=
$1
./get_nwjs.sh
$os
if
[
$?
-ne
0
]
;
then
exit
1
fi
ID
=
agkyra-
$(
date
+%s
)
TMPDIR
=
/tmp/
$ID
TMPAGKYRA
=
$TMPDIR
/agkyra
BUILDDIR
=
$CURPWD
/build/
$ID
echo
building under
$BUILDDIR
DISTDIR
=
$CURPWD
/dist
TMPAGKYRA
=
$BUILDDIR
/agkyra
mkdir
-p
$TMPAGKYRA
WHEELHOUSE
=
$TMPAGKYRA
/wheelhouse
...
...
@@ -40,15 +36,8 @@ for i in *; do unzip $i -d $TMPAGKYRA/lib; done
cd
$TMPAGKYRA
rm
-r
$WHEELHOUSE
cp
$ROOTPATH
/COPYING
$TMPAGKYRA
cp
$ROOTPATH
/README.md
$TMPAGKYRA
cp
$ROOTPATH
/agkyra/scripts/agkyra
$TMPAGKYRA
/agkyra
cp
$ROOTPATH
/agkyra/scripts/cli.py
$TMPAGKYRA
/agkyra
-cli
rm
-r
$DISTDIR
/agkyra
cd
$TMPDIR
ARCHIVENAME
=
$CURPWD
/agkyra-snapshot-
${
os
}
if
[[
"
$os
"
=
~ ^
(
linux64|linux32
)
$
]]
;
then
tar
czf
${
ARCHIVENAME
}
.tar.gz agkyra
else
zip
-r
${
ARCHIVENAME
}
.zip agkyra
fi
mv
$TMPAGKYRA
$DISTDIR
echo
built
in
$DISTDIR
/agkyra
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment