Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
a426a97a
Commit
a426a97a
authored
Jul 09, 2002
by
Matt Behrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build extensions with setup.py instead of Setup files, on UNIX at least...
parent
b7fb9f28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
33 deletions
+1
-33
inst/build_extensions.py
inst/build_extensions.py
+1
-33
No files found.
inst/build_extensions.py
View file @
a426a97a
...
...
@@ -21,37 +21,5 @@ print
print
'-'
*
78
print
'Building extension modules'
# For Python 2, we want to skip some things
if
sys
.
version
[:
1
]
==
'2'
:
do
(
'cp ./lib/python/Setup20 ./lib/python/Setup'
)
else
:
do
(
'cp ./lib/python/Setup15 ./lib/python/Setup'
)
do
(
'%s setup.py build_ext -i'
%
sys
.
executable
)
make
(
'lib'
,
'python'
)
make
(
'lib'
,
'python'
,
'DocumentTemplate'
)
make
(
'lib'
,
'python'
,
'ZODB'
)
make
(
'lib'
,
'python'
,
'BTrees'
)
make
(
'lib'
,
'python'
,
'AccessControl'
)
make
(
'lib'
,
'python'
,
'SearchIndex'
)
make
(
'lib'
,
'python'
,
'Shared'
,
'DC'
,
'xml'
,
'pyexpat'
)
make
(
'lib'
,
'python'
,
'Products'
,
'PluginIndexes'
,
'TextIndex'
,
'Splitter'
,
'ZopeSplitter'
)
make
(
'lib'
,
'python'
,
'Products'
,
'PluginIndexes'
,
'TextIndex'
,
'Splitter'
,
'ISO_8859_1_Splitter'
)
make
(
'lib'
,
'python'
,
'Products'
,
'PluginIndexes'
,
'TextIndex'
,
'Splitter'
,
'UnicodeSplitter'
)
make
(
'lib'
,
'python'
,
'Products'
,
'ZCTextIndex'
)
# Try to link/copy cPickle.so to BoboPOS to out-fox
# stock Python cPickle if using Python 1.5.2.
if
sys
.
version
[:
1
]
!=
'2'
:
cd
(
'lib'
)
files
=
filter
(
lambda
f
:
string
.
lower
(
f
[:
8
])
==
'cpickle.'
,
os
.
listdir
(
'python'
)
)
if
files
:
cd
(
'python'
);
cd
(
'ZODB'
)
for
f
in
files
:
src
=
os
.
path
.
join
(
'..'
,
f
)
try
:
os
.
link
(
src
,
f
)
except
:
open
(
f
,
'wb'
).
write
(
open
(
src
,
'rb'
).
read
())
cd
(
'..'
);
cd
(
'..'
)
cd
(
'..'
)
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