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
a6d2a54e
Commit
a6d2a54e
authored
Mar 26, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the distutils setup.py script to the usual location.
parent
fef762d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
inst/Makefile.in
inst/Makefile.in
+4
-4
inst/Makefile.win.in
inst/Makefile.win.in
+4
-4
setup.py
setup.py
+1
-1
No files found.
inst/Makefile.in
View file @
a6d2a54e
...
@@ -39,25 +39,25 @@ default: build
...
@@ -39,25 +39,25 @@ default: build
@
echo
@
echo
build
:
build
:
${PYTHON}
"
${BASE_DIR}
/
inst/
setup.py"
\
${PYTHON}
"
${BASE_DIR}
/setup.py"
\
${DISTUTILS_OPTS}
build
${BUILD_FLAGS}
${DISTUTILS_OPTS}
build
${BUILD_FLAGS}
install
:
build
install
:
build
${PYTHON}
"
${BASE_DIR}
/
inst/
setup.py"
${DISTUTILS_OPTS}
install
\
${PYTHON}
"
${BASE_DIR}
/setup.py"
${DISTUTILS_OPTS}
install
\
--home
=
"
${PREFIX}
"
${BUILD_FLAGS}
${INSTALL_FLAGS}
--home
=
"
${PREFIX}
"
${BUILD_FLAGS}
${INSTALL_FLAGS}
@
echo
@
echo
@
echo
Zope binaries installed successfully.
@
echo
Zope binaries installed successfully.
@
echo
Now run
\'
${PREFIX}
/bin/mkzopeinstance
\'
@
echo
Now run
\'
${PREFIX}
/bin/mkzopeinstance
\'
instance
:
instance
:
${PYTHON}
"
${BASE_DIR}
/
inst/
setup.py"
${DISTUTILS_OPTS}
build_ext
-i
${PYTHON}
"
${BASE_DIR}
/setup.py"
${DISTUTILS_OPTS}
build_ext
-i
${PYTHON}
"
${BASE_DIR}
/bin/mkzopeinstance"
.
${PYTHON}
"
${BASE_DIR}
/bin/mkzopeinstance"
.
# testinst makes an instance home in the build directory without asking
# testinst makes an instance home in the build directory without asking
# any questions. this is useful when testing. instances made with
# any questions. this is useful when testing. instances made with
# this can be removed via "make untestinst"
# this can be removed via "make untestinst"
testinst
:
build
testinst
:
build
${PYTHON}
"
${BASE_DIR}
/
inst/
setup.py"
${DISTUTILS_OPTS}
build_ext
-i
${PYTHON}
"
${BASE_DIR}
/setup.py"
${DISTUTILS_OPTS}
build_ext
-i
${PYTHON}
"
${BASE_DIR}
/bin/mkzopeinstance"
--user
=
admin:admin .
${PYTHON}
"
${BASE_DIR}
/bin/mkzopeinstance"
--user
=
admin:admin .
# remove the instance files made with testinst (w/ prejudice)
# remove the instance files made with testinst (w/ prejudice)
...
...
inst/Makefile.win.in
View file @
a6d2a54e
...
@@ -36,7 +36,7 @@ COPY=copy
...
@@ -36,7 +36,7 @@ COPY=copy
default
:
build
default
:
build
build
:
build
:
$(PYTHON)
"
$(BASE_DIR)
\
i
nst
\
s
etup.py"
\
$(PYTHON)
"
$(BASE_DIR)
\s
etup.py"
\
$(DISTUTILS_OPTS)
build
$(BUILD_FLAGS)
$(DISTUTILS_OPTS)
build
$(BUILD_FLAGS)
@
echo.
@
echo.
@
echo
Zope built. Next,
do
'nmake install'
(
or
'nmake instance'
@
echo
Zope built. Next,
do
'nmake install'
(
or
'nmake instance'
...
@@ -44,21 +44,21 @@ build:
...
@@ -44,21 +44,21 @@ build:
@
echo.
@
echo.
install
:
build
install
:
build
$(PYTHON)
"
$(BASE_DIR)
\
i
nst
\
s
etup.py"
$(DISTUTILS_OPTS)
install
\
$(PYTHON)
"
$(BASE_DIR)
\s
etup.py"
$(DISTUTILS_OPTS)
install
\
--prefix
=
"
$(PREFIX)
"
$(BUILD_FLAGS)
$(INSTALL_FLAGS)
--prefix
=
"
$(PREFIX)
"
$(BUILD_FLAGS)
$(INSTALL_FLAGS)
@
echo.
@
echo.
@
echo
Zope binaries installed successfully.
@
echo
Zope binaries installed successfully.
@
echo
Now run
'
$(PYTHON)
$(PREFIX)
\bin\mkzopeinstance'
@
echo
Now run
'
$(PYTHON)
$(PREFIX)
\bin\mkzopeinstance'
instance
:
build
instance
:
build
$(PYTHON)
"
$(BASE_DIR)
\
i
nst
\
s
etup.py"
$(DISTUTILS_OPTS)
build_ext
-i
$(PYTHON)
"
$(BASE_DIR)
\s
etup.py"
$(DISTUTILS_OPTS)
build_ext
-i
$(PYTHON)
"
$(BASE_DIR)
\b
in
\m
kzopeinstance"
.
$(PYTHON)
"
$(BASE_DIR)
\b
in
\m
kzopeinstance"
.
# testinst makes an instance home in the build directory without asking
# testinst makes an instance home in the build directory without asking
# any questions. this is useful when testing. instances made with
# any questions. this is useful when testing. instances made with
# this can be removed via "make untestinst"
# this can be removed via "make untestinst"
testinst
:
build
testinst
:
build
$(PYTHON)
"
$(BASE_DIR)
\
i
nst
\
s
etup.py"
$(DISTUTILS_OPTS)
build_ext
-i
$(PYTHON)
"
$(BASE_DIR)
\s
etup.py"
$(DISTUTILS_OPTS)
build_ext
-i
$(PYTHON)
"
$(BASE_DIR)
\b
in
\m
kzopeinstance"
--user
=
admin:admin .
$(PYTHON)
"
$(BASE_DIR)
\b
in
\m
kzopeinstance"
--user
=
admin:admin .
# remove the instance files made with testinst (w/ prejudice)
# remove the instance files made with testinst (w/ prejudice)
...
...
inst/
setup.py
→
setup.py
View file @
a6d2a54e
...
@@ -173,7 +173,7 @@ class ZopeDistribution(distutils.core.Distribution):
...
@@ -173,7 +173,7 @@ class ZopeDistribution(distutils.core.Distribution):
self
.
cmdclass
[
"install_data"
]
=
ZopeInstallData
self
.
cmdclass
[
"install_data"
]
=
ZopeInstallData
# presumes this script lives in the 'inst' subdirectory of the base dir
# presumes this script lives in the 'inst' subdirectory of the base dir
BASE_DIR
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
sys
.
argv
[
0
])
))
BASE_DIR
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
sys
.
argv
[
0
]
))
AUTHOR
=
'Zope Corporation and Contributors'
AUTHOR
=
'Zope Corporation and Contributors'
EXTENSIONCLASS_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'lib'
,
'Components'
,
EXTENSIONCLASS_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'lib'
,
'Components'
,
...
...
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