Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhifan huang
slapos
Commits
f0d760c6
Commit
f0d760c6
authored
Mar 04, 2022
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wxpython: remove python-path part
parent
2260bf8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
component/wxpython/buildout.cfg
component/wxpython/buildout.cfg
+7
-12
No files found.
component/wxpython/buildout.cfg
View file @
f0d760c6
...
@@ -11,16 +11,12 @@ parts =
...
@@ -11,16 +11,12 @@ parts =
wxPython
wxPython
[python2.7]
[python2.7]
shared = false
environment =
environment =
PATH=${patch:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${patch:location}/bin:${xz-utils:location}/bin:%(PATH)s
CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${libexpat:location}/include -I${libffi:location}/include -I${ncurses:location}/include -I${ncurses:location}/include -I${bzip2:location}/include -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include -I${gettext:location}/include -fPIC
CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${libexpat:location}/include -I${libffi:location}/include -I${ncurses:location}/include -I${ncurses:location}/include -I${bzip2:location}/include -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include -I${gettext:location}/include -fPIC
LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${libexpat:location}/lib -L${libffi:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib -L${sqlite3:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${libffi:location}/lib -Wl,-rpath=${ncurses:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${gdbm:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${sqlite3:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${file:location}/lib
LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${libexpat:location}/lib -L${libffi:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib -L${sqlite3:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${libffi:location}/lib -Wl,-rpath=${ncurses:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${gdbm:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${sqlite3:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${file:location}/lib
[python-path]
recipe = collective.recipe.shelloutput
commands =
pythonpath = ls -d ${buildout:eggs-directory}/* | tr '\n' ':'
[wxpython-eggs]
[wxpython-eggs]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
interpreter = wxpython2.7
interpreter = wxpython2.7
...
@@ -44,11 +40,10 @@ python-bin = ${buildout:bin-directory}/${wxpython-eggs:interpreter}
...
@@ -44,11 +40,10 @@ python-bin = ${buildout:bin-directory}/${wxpython-eggs:interpreter}
wxwidgets-bin = ${wxWidgets:location}/bin/
wxwidgets-bin = ${wxWidgets:location}/bin/
LDFLAGS=-L${gtk-3:location}/lib -Wl,-rpath=${gtk-3:location}/lib -L${wxWidgets:location}/lib -Wl,-rpath=${wxWidgets:location}/lib
LDFLAGS=-L${gtk-3:location}/lib -Wl,-rpath=${gtk-3:location}/lib -L${wxWidgets:location}/lib -Wl,-rpath=${wxWidgets:location}/lib
CPPFLAGS=-I${wxWidgets:location}/include/wx-3.0 -I${wxWidgets:location}/lib/wx/include/gtk3-unicode-3.0 -I${gtk-3:location}/include/gtk-3.0
CPPFLAGS=-I${wxWidgets:location}/include/wx-3.0 -I${wxWidgets:location}/lib/wx/include/gtk3-unicode-3.0 -I${gtk-3:location}/include/gtk-3.0
PYTHONPATH = ${python-path:pythonpath}
pkg-config = ${pkgconfig:location}/bin
pkg-config = ${pkgconfig:location}/bin
PKG_CONFIG_PATH = ${glib:location}/lib/pkgconfig:${gtk-3:location}/lib/pkgconfig:${gtk-3:pkg_config_depends}
PKG_CONFIG_PATH = ${glib:location}/lib/pkgconfig:${gtk-3:location}/lib/pkgconfig:${gtk-3:pkg_config_depends}
install =
install =
import os, shutil
import os, shutil
, sys
from setuptools.archive_util import unpack_archive
from setuptools.archive_util import unpack_archive
workdir = options['source-location']
workdir = options['source-location']
python_bin = options['python-bin']
python_bin = options['python-bin']
...
@@ -57,7 +52,7 @@ install =
...
@@ -57,7 +52,7 @@ install =
os.environ['PATH']]),
os.environ['PATH']]),
'LDFLAGS':options['LDFLAGS'],
'LDFLAGS':options['LDFLAGS'],
'CPPFLAGS':options['CPPFLAGS'],
'CPPFLAGS':options['CPPFLAGS'],
'PYTHONPATH':options['PYTHONPATH']
,
'PYTHONPATH': ':'.join(sys.path + [workdir])
,
'PKG_CONFIG_PATH': options['PKG_CONFIG_PATH'],
'PKG_CONFIG_PATH': options['PKG_CONFIG_PATH'],
}
}
os.chdir(workdir)
os.chdir(workdir)
...
...
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