Commit 06577d69 authored by Reinout van Rees's avatar Reinout van Rees

Merge pull request #266 from buildout/reinout-wheels-part-two

Wheel support also for zc.recipe.egg
parents 277cc1b0 64769d24
......@@ -58,3 +58,12 @@ https://bootstrap.pypa.io/bootstrap-buildout.py .
If there are changes to bootstrap.py, be sure to update the date in the
``__version__`` attribute and to record the bootstrap change (including the
new date/version) in zc.buildout's changelog.
When releasing, make sure you also build a (universal) wheel in addition to
the regular .tar.gz::
$ python setup.py sdist bdist_wheel upload
You can also use zest.releaser to release it. If you've installed it as
``zest.releaser[recommended]`` it builds the wheel for you and uploads it via
https (via twine).
......@@ -12,3 +12,4 @@ ignore =
[zest.releaser]
create-wheel = yes
extra-message = [ci skip]
......@@ -4,7 +4,9 @@ Change History
2.0.3 (unreleased)
==================
- Nothing changed yet.
- Releasing zc.recipe.egg as a wheel in addition to only an sdist. No
functional changes.
[reinout]
2.0.2 (2015-07-01)
==================
......
recursive-include src/zc *.txt
include *.txt
recursive-include src/zc *.rst
include *.rst
[bdist_wheel]
universal = 1
[zest.releaser]
create-wheel = yes
extra-message = [ci skip]
......@@ -30,18 +30,18 @@ setup(
author_email = "jim@zope.com",
description = "Recipe for installing Python package distributions as eggs",
long_description = (
read('README.txt')
read('README.rst')
+ '\n' +
read('CHANGES.txt')
read('CHANGES.rst')
+ '\n' +
'Detailed Documentation\n'
'**********************\n'
+ '\n' +
read('src', 'zc', 'recipe', 'egg', 'README.txt')
read('src', 'zc', 'recipe', 'egg', 'README.rst')
+ '\n' +
read('src', 'zc', 'recipe', 'egg', 'custom.txt')
read('src', 'zc', 'recipe', 'egg', 'custom.rst')
+ '\n' +
read('src', 'zc', 'recipe', 'egg', 'api.txt')
read('src', 'zc', 'recipe', 'egg', 'api.rst')
+ '\n' +
'Download\n'
'*********\n'
......
......@@ -39,7 +39,7 @@ def setUp(test):
def test_suite():
suite = unittest.TestSuite((
doctest.DocFileSuite(
'README.txt',
'README.rst',
setUp=setUp, tearDown=zc.buildout.testing.buildoutTearDown,
checker=renormalizing.RENormalizing([
zc.buildout.testing.normalize_path,
......@@ -57,7 +57,7 @@ def test_suite():
])
),
doctest.DocFileSuite(
'api.txt',
'api.rst',
setUp=setUp, tearDown=zc.buildout.testing.buildoutTearDown,
checker=renormalizing.RENormalizing([
zc.buildout.testing.normalize_path,
......@@ -77,7 +77,7 @@ def test_suite():
])
),
doctest.DocFileSuite(
'custom.txt',
'custom.rst',
setUp=setUp, tearDown=zc.buildout.testing.buildoutTearDown,
checker=renormalizing.RENormalizing([
zc.buildout.testing.normalize_path,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment