Skip to content

Conversation

codekoriko
Copy link

  • Modernize packaging: add pyproject.toml (PEP 621/517) with requires-python >=3.6, console script, classifiers. Build backend switched to setuptools.
  • Remove lib2to3 use on Python 3; keep it only for legacy Python 2 path. Encoding detection now uses tokenize.detect_encoding on Py3.
  • Keep setup.py for legacy installs; loosened version gate to allow local installs while upstream modern metadata governs Py3 wheels.
  • Docs: add Installation section describing modern vs legacy modes; point readme to README.rst.
  • CI/dev: update tox.ini to test Py3.6–3.12 with pytest.

Impacts:

  • Py3.6+ users install normally: pip install unify. No lib2to3 dependency; compatible with Python 3.11+.
  • Legacy users on Py2 can still install via setup.py.

Upstream repo reference: myint/unify.

…tup.py); drop lib2to3 on Py3; update README, tox, classifiers; bump to 0.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant