Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
moodle_rebase10.1.2
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
Dmitry Blinov
moodle_rebase10.1.2
Commits
6cc245bf
Commit
6cc245bf
authored
Sep 25, 2012
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
properly compile psycopg2
parent
0cc9a7ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
stack/lapp/buildout.cfg
stack/lapp/buildout.cfg
+5
-10
No files found.
stack/lapp/buildout.cfg
View file @
6cc245bf
...
@@ -31,9 +31,9 @@ strip-top-level-dir = true
...
@@ -31,9 +31,9 @@ strip-top-level-dir = true
recipe = zc.recipe.egg
recipe = zc.recipe.egg
eggs =
eggs =
${lxml-python:egg}
${lxml-python:egg}
${psycopg2:egg}
slapos.toolbox
slapos.toolbox
cns.recipe.symlink
cns.recipe.symlink
collective.recipe.distutils
...
@@ -68,11 +68,15 @@ location =
...
@@ -68,11 +68,15 @@ location =
[application-configuration]
[application-configuration]
location =
location =
[psycopg2-env]
PATH = ${postgresql:location}/bin:%(PATH)s
[psycopg2]
[psycopg2]
recipe = zc.recipe.egg:custom
recipe = zc.recipe.egg:custom
egg = psycopg2
egg = psycopg2
define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
environment = psycopg2-env
include-dirs =
include-dirs =
${postgresql:location}/include
${postgresql:location}/include
library-dirs =
library-dirs =
...
@@ -81,12 +85,3 @@ rpath =
...
@@ -81,12 +85,3 @@ rpath =
${postgresql:location}/lib
${postgresql:location}/lib
## this works as well as the above
#[psycopg2]
#recipe = collective.recipe.distutils
#url = http://www.psycopg.org/psycopg/tarballs/PSYCOPG-2-4/psycopg2-2.4.5.tar.gz
#build_ext =
# --pg-config=${postgresql:location}/bin/pg_config
# --rpath=${postgresql:location}/lib
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