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
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
74450a93
Commit
74450a93
authored
Sep 25, 2012
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include psycopg2 egg
parent
e20b016e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
stack/lapp/buildout.cfg
stack/lapp/buildout.cfg
+23
-0
No files found.
stack/lapp/buildout.cfg
View file @
74450a93
...
@@ -3,6 +3,7 @@ parts =
...
@@ -3,6 +3,7 @@ parts =
apache-php-postgres
apache-php-postgres
eggs
eggs
template
template
psycopg2
template-apache-php
template-apache-php
template-postgres
template-postgres
...
@@ -32,6 +33,7 @@ eggs =
...
@@ -32,6 +33,7 @@ eggs =
${lxml-python:egg}
${lxml-python:egg}
slapos.toolbox
slapos.toolbox
cns.recipe.symlink
cns.recipe.symlink
collective.recipe.distutils
...
@@ -67,3 +69,24 @@ location =
...
@@ -67,3 +69,24 @@ location =
location =
location =
[psycopg2]
recipe = zc.recipe.egg:custom
egg = psycopg2
define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
include-dirs =
${postgresql:location}/include
library-dirs =
${postgresql:location}/lib
rpath =
${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