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
Kirill Smelkov
ZODB
Commits
dc78231e
Commit
dc78231e
authored
Feb 27, 2007
by
Christian Theune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- new beta for packaging
parent
e1ef28b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
48 deletions
+48
-48
setup.py
setup.py
+48
-48
No files found.
setup.py
View file @
dc78231e
...
@@ -20,7 +20,7 @@ to application logic. ZODB includes features such as a plugable storage
...
@@ -20,7 +20,7 @@ to application logic. ZODB includes features such as a plugable storage
interface, rich transaction support, and undo.
interface, rich transaction support, and undo.
"""
"""
VERSION
=
"3.7.0b
3
"
VERSION
=
"3.7.0b
4
"
# The (non-obvious!) choices for the Trove Development Status line:
# The (non-obvious!) choices for the Trove Development Status line:
# Development Status :: 5 - Production/Stable
# Development Status :: 5 - Production/Stable
...
@@ -38,6 +38,52 @@ Operating System :: Microsoft :: Windows
...
@@ -38,6 +38,52 @@ Operating System :: Microsoft :: Windows
Operating System :: Unix
Operating System :: Unix
"""
"""
try
:
from
setuptools
import
setup
except
ImportError
:
from
distutils.core
import
setup
extra
=
dict
(
scripts
=
[
"src/ZODB/scripts/fsdump.py"
,
"src/ZODB/scripts/fsoids.py"
,
"src/ZODB/scripts/fsrefs.py"
,
"src/ZODB/scripts/fstail.py"
,
"src/ZODB/scripts/fstest.py"
,
"src/ZODB/scripts/repozo.py"
,
"src/ZEO/scripts/zeopack.py"
,
"src/ZEO/scripts/runzeo.py"
,
"src/ZEO/scripts/zeopasswd.py"
,
"src/ZEO/scripts/mkzeoinst.py"
,
"src/ZEO/scripts/zeoctl.py"
,
],
)
else
:
entry_points
=
"""
[console_scripts]
fsdump = ZODB.FileStorage.fsdump:main
fsoids = ZODB.scripts.fsoids:main
fsrefs = ZODB.scripts.fsrefs:main
fstail = ZODB.scripts.fstail:Main
repozo = ZODB.scripts.repozo:main
zeopack = ZEO.scripts.zeopack:main
runzeo = ZEO.runzeo:main
zeopasswd = ZEO.zeopasswd:main
mkzeoinst = ZEO.mkzeoinst:main
zeoctl = ZEO.zeoctl:main
"""
extra
=
dict
(
install_requires
=
[
'zope.interface'
,
'zope.proxy'
,
'zope.testing'
,
'ZConfig'
,
'zdaemon'
,
],
zip_safe
=
False
,
dependency_links
=
[
'http://download.zope.org/distribution/'
],
entry_points
=
entry_points
,
)
scripts
=
[]
import
glob
import
glob
import
os
import
os
import
sys
import
sys
...
@@ -139,7 +185,7 @@ packages = ["BTrees", "BTrees.tests",
...
@@ -139,7 +185,7 @@ packages = ["BTrees", "BTrees.tests",
def
copy_other_files
(
cmd
,
outputbase
):
def
copy_other_files
(
cmd
,
outputbase
):
# A delicate dance to copy files with certain extensions
# A delicate dance to copy files with certain extensions
# into a package just like .py files.
# into a package just like .py files.
extensions
=
[
"*.conf"
,
"*.xml"
,
"*.txt"
,
"*.sh"
]
extensions
=
[
"*.conf"
,
"*.xml"
,
"*.txt"
,
"*.sh"
,
"*.txt"
]
directories
=
[
directories
=
[
"transaction"
,
"transaction"
,
"transaction/tests"
,
"transaction/tests"
,
...
@@ -192,52 +238,6 @@ class MyDistribution(Distribution):
...
@@ -192,52 +238,6 @@ class MyDistribution(Distribution):
doclines
=
__doc__
.
split
(
"
\
n
"
)
doclines
=
__doc__
.
split
(
"
\
n
"
)
try
:
from
setuptools
import
setup
except
ImportError
:
from
distutils.core
import
setup
extra
=
dict
(
scripts
=
[
"src/ZODB/scripts/fsdump.py"
,
"src/ZODB/scripts/fsoids.py"
,
"src/ZODB/scripts/fsrefs.py"
,
"src/ZODB/scripts/fstail.py"
,
"src/ZODB/scripts/fstest.py"
,
"src/ZODB/scripts/repozo.py"
,
"src/ZEO/scripts/zeopack.py"
,
"src/ZEO/scripts/runzeo.py"
,
"src/ZEO/scripts/zeopasswd.py"
,
"src/ZEO/scripts/mkzeoinst.py"
,
"src/ZEO/scripts/zeoctl.py"
,
],
)
else
:
entry_points
=
"""
[console_scripts]
fsdump = ZODB.FileStorage.fsdump:main
fsoids = ZODB.scripts.fsoids:main
fsrefs = ZODB.scripts.fsrefs:main
fstail = ZODB.scripts.fstail:Main
repozo = ZODB.scripts.repozo:main
zeopack = ZEO.scripts.zeopack:main
runzeo = ZEO.runzeo:main
zeopasswd = ZEO.zeopasswd:main
mkzeoinst = ZEO.mkzeoinst:main
zeoctl = ZEO.zeoctl:main
"""
extra
=
dict
(
install_requires
=
[
'zope.interface'
,
'zope.proxy'
,
'zope.testing'
,
'ZConfig'
,
'zdaemon'
,
],
zip_safe
=
False
,
dependency_links
=
[
'http://download.zope.org/distribution/'
],
entry_points
=
entry_points
,
)
scripts
=
[]
setup
(
name
=
"ZODB3"
,
setup
(
name
=
"ZODB3"
,
version
=
VERSION
,
version
=
VERSION
,
...
...
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