Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libxseg
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
libxseg
Commits
8983f4cf
Commit
8983f4cf
authored
12 years ago
by
Filippos Giannakos
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature-fixmakeversions' into develop
parents
ef94d371
8704fcdc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
xseg/base.mk
+5
-1
5 additions, 1 deletion
xseg/base.mk
xseg/sys/user/python/setup.py
+11
-5
11 additions, 5 deletions
xseg/sys/user/python/setup.py
with
16 additions
and
6 deletions
xseg/base.mk
+
5
−
1
View file @
8983f4cf
...
...
@@ -48,12 +48,16 @@ ifndef CSTD
export
CSTD
=
-std
=
gnu99
-pedantic
endif
ifeq
(,$(VERSION))
export
TOPDIR
=
$(
shell
dirname
$(
CURDIR
))
export
VERSION
=
$(
shell
cat
$(
TOPDIR
)
/version
)
endif
bindir
=
/usr/bin/
libdir
=
/usr/lib/
pythondir
=
/usr/lib/python2.7/
moduledir
=
/lib/modules/
`
uname
-r
`
/extra/
srcdir
=
/usr/src/archipelago-kernel-dkms-VERSION/
srcdir
=
/usr/src/archipelago-kernel-dkms-
$(
VERSION
)
/
ganetidir
=
/usr/share/ganeti/extstorage/vlmc/
INC
=
-I
$(
BASE
)
...
...
This diff is collapsed.
Click to expand it.
xseg/sys/user/python/setup.py
+
11
−
5
View file @
8983f4cf
...
...
@@ -41,15 +41,21 @@ from distutils.util import convert_path
from
fnmatch
import
fnmatchcase
from
setuptools
import
setup
,
find_packages
HERE
=
os
.
path
.
abspath
(
os
.
path
.
normpath
(
os
.
path
.
dirname
(
__file__
)))
DEBIANDIR
=
os
.
path
.
join
(
HERE
,
'
../../../../debian
'
);
#HERE = os.path.abspath(os.path.normpath(os.path.dirname(__file__)))
TOPDIR
=
os
.
environ
[
'
TOPDIR
'
]
DEBIANDIR
=
os
.
path
.
join
(
TOPDIR
,
'
debian
'
);
DEBIANDIR
=
os
.
path
.
normpath
(
DEBIANDIR
)
VERSION
=
os
.
environ
[
'
VERSION
'
]
# Package info
VERSION
=
@VERSION
README
=
open
(
os
.
path
.
join
(
DEBIANDIR
,
'
README
'
)).
read
()
CHANGES
=
open
(
os
.
path
.
join
(
DEBIANDIR
,
'
changelog
'
)).
read
()
if
os
.
path
.
isdir
(
DEBIANDIR
):
README
=
open
(
os
.
path
.
join
(
DEBIANDIR
,
'
README
'
)).
read
()
CHANGES
=
open
(
os
.
path
.
join
(
DEBIANDIR
,
'
changelog
'
)).
read
()
else
:
README
=
''
CHANGES
=
''
SHORT_DESCRIPTION
=
'
Package short description
'
PACKAGES_ROOT
=
'
.
'
...
...
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