Skip to content

Commit 3d6c4ac

Browse files
author
rocky
committed
Get ready for release 1.0.1
1 parent 4c00a28 commit 3d6c4ac

File tree

7 files changed

+36
-10
lines changed

7 files changed

+36
-10
lines changed

ChangeLog

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
2020-05-02 rocky <[email protected]>
2+
3+
* ChangeLog, MANIFEST.in, NEWS.md, __pkginfo__.py,
4+
admin-tools/how-to-make-a-release.md, setup.py, xpython/version.py:
5+
Get ready for release 1.0.1
6+
7+
2020-05-02 rocky <[email protected]>
8+
9+
* ChangeLog, MANIFEST.in, NEWS.md, __pkginfo__.py,
10+
admin-tools/how-to-make-a-release.md, setup.py,
11+
test/examples/test_generator_with_context_manager.py,
12+
xpython/__main__.py, xpython/byteop/byteop32.py,
13+
xpython/byteop/byteop33.py, xpython/byteop/byteop34.py,
14+
xpython/pyvm2.py: Get ready for release 1.0.0
15+
116
2020-05-02 rocky <[email protected]>
217

318
* README.rst: Doc fixes

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ include ChangeLog
66
include __pkginfo__.py
77
include setup.py
88
recursive-include xpython *.py
9+
recursive-include xpython/byteop *.py
910
recursive-include test *.py
1011
recursive-exclude test __pycache__

NEWS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1.0.0 2020-05-02 Segundo de mayo
1+
1.0.1 2020-05-02 Segundo de mayo
22
================================
33

44
A One oh release - you know what that means.
@@ -18,3 +18,5 @@ The level of verbosity on `nosetest -s` has been reduced by removing the disasse
1818
Some of the bugs in `MAKE_FUNCTION` have been fixed. (It is expect that these would appear since Python function signatures are complicated the internal have changed numerous times between releases.
1919

2020
Some command options have now change. Of note is `-v` is now `--debug-level`, `-d` which takes an integer parameter which specifies the level of verbosity. `-d1` gives a trace of instructions while `-d2` includes the block and evaluation stack. In general I'll try to follow the Python command options, and `-d`, not `-v` is what CPython uses.
21+
22+
(The packaging in 1.0.0 got botched, hence we start with 1.0.1)

__pkginfo__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
author_email='[email protected]'
33
entry_points = {"console_scripts": ["xpython=xpython.__main__:main"]}
44
install_requires=["six", "xdis", "click"],
5+
py_modules = None
56
short_desc = "Python cross-version byte-code interpeter"
67
url='http://github.com/rocky/xpython'
78

89
classifiers = [
10+
"Operating System :: OS Independent",
911
"Programming Language :: Python :: 2.7",
12+
"Programming Language :: Python :: 3.2",
1013
"Programming Language :: Python :: 3.3",
1114
"Programming Language :: Python :: 3.4",
15+
"Programming Language :: Python :: 3.5",
1216
]
1317
import os.path as osp
1418

admin-tools/how-to-make-a-release.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,27 @@
3434
# Update NEWS.md from ChangeLog. Then:
3535

3636
$ emacs NEWS.md
37-
$ make check
37+
$ remake -c check
3838
$ git commit --amend .
3939
$ git push # get CI testing going early
40-
$ make check-full
40+
$ remake -c check-full
4141

4242
# Update NEWS.md from master branch
4343

4444
$ git commit -m"Get ready for release $VERSION" .
4545

4646
# Make packages and tag
4747

48-
$ . ./admin-tools/make-dist.sh
48+
$ ./admin-tools/make-dist.sh
4949
$ twine check dist/x-python-$VERSION*
5050

5151
Goto https://github.com/rocky/x-python/releases/new
5252

5353

54-
# Upload
54+
# Check and Upload
5555

56-
$ twine upload dist/xdis-${VERSION}*
56+
$ twine check dist/x?python-${VERSION}*
57+
$ twine upload dist/x?python-${VERSION}*
5758

5859
Check on https://pypi.org/project/x-python/
5960

setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44

55
from setuptools import setup
66
from __pkginfo__ import (
7+
VERSION,
78
author,
89
author_email,
10+
classifiers,
911
entry_points,
1012
install_requires,
1113
long_description,
12-
classifiers,
14+
py_modules,
1315
short_desc,
14-
VERSION,
1516
url,
1617
)
1718

@@ -20,11 +21,13 @@
2021
version=VERSION,
2122
author=author,
2223
author_email=author_email,
24+
classifiers=classifiers,
2325
description=short_desc,
2426
entry_points=entry_points,
2527
long_description=long_description,
2628
long_description_content_type="text/x-rst",
27-
packages=["xpython"],
29+
packages = ["xpython", "xpython.byteop"],
30+
py_modules = py_modules,
2831
install_requires=install_requires,
2932
url=url
3033
)

xpython/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This file is suitable for sourcing inside bash as
22
# well as importing into Python
3-
VERSION='1.0.0'
3+
VERSION='1.0.1'

0 commit comments

Comments
 (0)