Skip to content

Modernize packaging#158

Open
akx wants to merge 1 commit into
MrBin99:masterfrom
akx:modern-pkg
Open

Modernize packaging#158
akx wants to merge 1 commit into
MrBin99:masterfrom
akx:modern-pkg

Conversation

@akx

@akx akx commented Mar 31, 2025

Copy link
Copy Markdown
Contributor

This PR modernizes the packaging of django-vite to be PEP 517 based, with Hatchling as the backend.

As a side effect:

  • tests/ is no longer dropped into users' site-packages/ directory if they install from a wheel 😅
  • The package version is now available as django_vite.__version__ (and is the single source of truth for version data)

I diffed the generated packages on master and this branch, and they're effectively the same. Also, since Tox-based tests (that use built packages) pass, should be alright.

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