Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
nexedi
ZODB
Commits
0b59e2cc
Commit
0b59e2cc
authored
Sep 03, 2005
by
Dmitry Vasiliev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure we use ZConfig shipped with the distribution
parent
2f39f372
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
setup.py
setup.py
+8
-2
No files found.
setup.py
View file @
0b59e2cc
...
...
@@ -19,9 +19,15 @@ import sys
here
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
buildsupport
=
os
.
path
.
join
(
here
,
"buildsupport"
)
sys
.
path
.
insert
(
0
,
buildsupport
)
# Process *.pth files from buildsupport/:
# Add 'buildsupport' to sys.path and process *.pth files from 'buildsupport':
last
=
len
(
sys
.
path
)
site
.
addsitedir
(
buildsupport
)
if
len
(
sys
.
path
)
>
last
:
# Move all appended directories to the start.
# Make sure we use ZConfig shipped with the distribution
new
=
sys
.
path
[
last
:]
del
sys
.
path
[
last
:]
sys
.
path
[:
0
]
=
new
import
zpkgsetup.package
import
zpkgsetup.publication
...
...
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