Skip to content

Commit 5878e30

Browse files
committed
Administrivia and Go over README.
1 parent ed2c26a commit 5878e30

File tree

4 files changed

+17
-126
lines changed

4 files changed

+17
-126
lines changed

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ The way it does this though is by segregating consecutive Python versions into
8888
git branches:
8989

9090
master
91-
Python 3.6 and up (uses type annotations)
91+
Python 3.11 and up
92+
python-3.6-to-3.10
93+
Python 3.6 to python-3.10 (uses type annotations)
9294
python-3.3-to-3.5
9395
Python 3.3 through 3.5 (Generic Python 3)
9496
python-2.4

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

Lines changed: 0 additions & 100 deletions
This file was deleted.

admin-tools/make-dist-newest.sh

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ PACKAGE=uncompyle6
33

44
# FIXME put some of the below in a common routine
55
function finish {
6-
cd $make_uncompyle6_newest_owd
6+
if [[ -n "$make_uncompyle6_newest_owd" ]] then
7+
cd $make_uncompyle6_newest_owd
8+
fi
79
}
810

911
cd $(dirname ${BASH_SOURCE[0]})
@@ -21,24 +23,7 @@ cd ..
2123
source $PACKAGE/version.py
2224
echo $__version__
2325

24-
for pyversion in $PYVERSIONS; do
25-
echo --- $pyversion ---
26-
if [[ ${pyversion:0:4} == "pypy" ]] ; then
27-
echo "$pyversion - PyPy does not get special packaging"
28-
continue
29-
fi
30-
if ! pyenv local $pyversion ; then
31-
exit $?
32-
fi
33-
# pip bdist_egg create too-general wheels. So
34-
# we narrow that by moving the generated wheel.
35-
36-
# Pick out first two number of version, e.g. 3.5.1 -> 35
37-
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
38-
rm -fr build
39-
python setup.py bdist_egg bdist_wheel
40-
mv -v dist/${PACKAGE}-$__version__-{py2.py3,py$first_two}-none-any.whl
41-
done
42-
43-
python ./setup.py sdist
26+
rm -fr build
27+
pip wheel --wheel-dir=dist .
28+
python -m build --sdist
4429
finish

pyproject.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=61.0"]
2+
requires = ["setuptools"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -12,15 +12,14 @@ description = "Python cross-version byte-code library and disassembler"
1212
dependencies = [
1313
"click",
1414
"spark-parser >= 1.8.9, < 1.9.2",
15-
"xdis >= 6.1.0, < 6.2.0",
15+
"xdis >= 6.1.0, < 6.3",
1616
]
1717
readme = "README.rst"
18-
license = {text = "GPL"}
18+
license = "GPL-3.0-or-later"
1919
keywords = ["Python bytecode", "bytecode", "disassembler"]
2020
classifiers = [
2121
"Development Status :: 5 - Production/Stable",
2222
"Intended Audience :: Developers",
23-
"License :: OSI Approved :: MIT License",
2423
"Programming Language :: Python",
2524
"Topic :: Software Development :: Libraries :: Python Modules",
2625
"Programming Language :: Python :: 2.4",
@@ -63,3 +62,8 @@ version = {attr = "uncompyle6.version.__version__"}
6362

6463
[tool.setuptools.packages.find]
6564
include = ["uncompyle6*"] # Include all subpackages
65+
66+
[tool.pyright]
67+
include = ["trepan"]
68+
# exclude = []
69+
ignore = ["dist", "docs", "tmp", ".cache"]

0 commit comments

Comments
 (0)