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
84014aab
Commit
84014aab
authored
Jul 21, 2016
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update maintenance and virtualenv creation docs.
parent
c4961738
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
54 deletions
+29
-54
MANIFEST.in
MANIFEST.in
+1
-0
docs/INSTALL-virtualenv.rst
docs/INSTALL-virtualenv.rst
+9
-22
docs/WSGI.rst
docs/WSGI.rst
+0
-16
docs/maintenance.rst
docs/maintenance.rst
+19
-16
No files found.
MANIFEST.in
View file @
84014aab
...
...
@@ -7,6 +7,7 @@ recursive-include docs *
recursive-include src *
prune docs/.build
prune docs/_build
global-exclude *.dll
global-exclude *.pyc
...
...
docs/INSTALL-virtualenv.rst
View file @
84014aab
...
...
@@ -20,12 +20,14 @@ Create a Virtual Environment
Install the Zope2 Software Packages
-----------------------------------
To install a specific version of Zope, use a tag specific URL instead of
master as suggested in the below example:
.. code-block:: sh
$ bin/pip install \
--trusted-host download.zope.org \
--index http://download.zope.org/Zope2/index/2.13.22/ Zope2
Collecting Zope2
-r https://raw.githubusercontent.com/zopefoundation/Zope/master/requirements.txt
Obtaining Zope2
...
Successfully installed ...
...
...
@@ -40,14 +42,7 @@ Zope server process. The instance home is created using the
.. code-block:: sh
$ bin/mkzopeinstance
You can specify the Python interpreter to use for the instance
explicitly:
.. code-block:: sh
$ bin/mkzopeinstance --python=bin/python
$ bin/mkzopeinstance -d .
You will be asked to provide a user name and password for an
administrator's account during ``mkzopeinstance``. To see the available
...
...
@@ -57,17 +52,9 @@ command-line options, run the script with the ``--help`` option:
$ bin/mkzopeinstance --help
Using the ``virtualenv`` as the Zope Instance
---------------------------------------------
You can choose to use the ``virtualenv`` as your Zope instance:
.. code-block:: sh
$ bin/mkzopeinstance -d .
In this case, the instance files will be located in the
subdirectories of the ``virtualenv``:
The `-d .` specifies the directory to create the instance home in.
If you follow the example and choose the current directory, you'll
find the instances files in the subdirectories of the ``virtualenv``:
- ``etc/`` will hold the configuration files.
- ``log/`` will hold the log files.
...
...
docs/WSGI.rst
View file @
84014aab
...
...
@@ -5,22 +5,6 @@ This document assumes you have installed Zope into a ``virtualenv`` (see
:doc:`INSTALL-virtualenv`).
Install the Supporting Software
-------------------------------
To run as a WSGI application, you need to install some additional software.
.. code-block:: sh
$ bin/pip install \
--trusted-host download.zope.org \
--index http://download.zope.org/Zope2/index/2.13.22/ \
repoze.who repoze.tm2 repoze.retry Paste PasteDeploy PasteScript
Collecting repoze.who
...
Successfully installed Paste-1.7.5.1 PasteDeploy-1.3.4 PasteScript-1.7.5 repoze.retry-1.2 repoze.tm2-1.0 repoze.who-2.0
Update the Zope Application Configuration
-----------------------------------------
...
...
docs/maintenance.rst
View file @
84014aab
Maintenance information
=======================
=
=======================
.. note::
...
...
@@ -21,36 +21,39 @@ The following persons have access to the ``Zope2`` package on PyPI
Steps for creating a new Zope release
+++++++++++++++++++++++++++++++++++++
-
c
heck the versions.cfg file for outdated or updated
packages and update version information where necessary
-
C
heck the versions.cfg file for outdated or updated
packages and update version information where necessary
.
-
u
pdate version information:
-
U
pdate version information:
- setup.py (remove dev postfix)
- versions.cfg (pin Zope2)
- versions-prod.cfg (pin Zope2)
- requirements.txt (pin Zope2)
- update docs/CHANGES.rst
- The requirements.txt is autogenerated on each bin/buildout run.
So instead of manually adjusting it, you can update versions-prod.cfg
and then run bin/buildout once.
- run all tests::
- Update docs/CHANGES.rst with a release date.
- Run all tests::
bin/alltests
-
tag the release
-
Tag the release.
-
u
pload the tagged release to PyPI::
-
U
pload the tagged release to PyPI::
python2.7 setup.py egg_info -RDb '' sdist --formats=zip register upload
-
u
pdate version information:
-
U
pdate version information:
- setup.py (bump version number, add dev postfix)
- versions.cfg (remove Zope2 pin)
- versions-prod.cfg (remove Zope2 pin)
- requirements.txt (replace Zope2 pin by git reference, either manually
or run bin/buildout).
-
c
heck the visible releases on readthedocs.org at (should default to
-
C
heck the visible releases on readthedocs.org at (should default to
showing the active branches)::
https://readthedocs.org/dashboard/zope/versions/
- update the status of all bugs associated with the released milestone::
https://launchpad.net/zope2/+milestone/2.13.x
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