Skip to content

Conversation

@deathaxe
Copy link
Member

This PR...

  1. refactors folder structure as if sublime_lib was an ordinary python library.
  2. adds pyproject.toml to specify all relevant metadata
  3. retires flake8 and pycodestyle in favour of black.
  4. adds relevant scripts and actions to deploy the library as WHEEL via Github releases.

Version is bumbed to 1.6.0, but this PR doesn't change any library functionality at all.

Prepare folder structure to create and deploy sublime_lib as an ordinary
python wheel file. No more deployment as ST dependency.
Is designed to be started manually.

It will use `version` from pyproject.toml to create a tag and a release,
containing the wheel file to deploy.

To file a release...

1. bump version in pyproject.toml
2. commit new version in a "Bump Version" commit
3. push to origin
4. local release:
     Run scripts/release script.
   remote release:
     On GitHub > Actions, run publish-release action against "master".
@Thom1729
Copy link
Member

I'm flying to Munich today and probably won't have a chance to look at this for at least a week, but it sounds good in principle and I have no objections if @FichteFoll wants to review it in the meantime.

@FichteFoll
Copy link
Member

FichteFoll commented Nov 23, 2025

I'll take a look at it next weekend, probably.

Edit: although I am in general in favor of ruff over black formatting.

@deathaxe
Copy link
Member Author

Have no strong favourite. Black just was an easy change. Feel free to change the formatter/checker.

@FichteFoll
Copy link
Member

I took a jab at it via #179, PTAL.

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.

4 participants