Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Include license file in sdist#123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Mariatta merged 1 commit intopython:mainfromhugovk:flit-fix-licence
Mar 27, 2023
Merged

Conversation

hugovk
Copy link
Member

Fixes#122.

With flit-core, looks like we need to explicitly include the licence file:

license

A table with either afile key (a relative path to a license file) or atext key (the license text).

https://flit.pypa.io/en/stable/pyproject_toml.html

With setuptools, the 2022.1 sdist includes:

-rw-r--r--   1 hugo  staff   2.4K Mar 22 15:34 LICENSE-rw-r--r--   1 hugo  staff    67B Mar 27 17:44 MANIFEST.in-rw-r--r--   1 hugo  staff   1.4K Mar 27 17:44 PKG-INFO-rw-r--r--   1 hugo  staff   858B Mar 22 15:34 README.rst-rw-r--r--   1 hugo  staff   105B Mar 27 17:44 pyproject.tomldrwxr-xr-x   7 hugo  staff   224B Mar 27 17:44 python_docs_themedrwxr-xr-x   7 hugo  staff   224B Mar 27 17:44 python_docs_theme.egg-info-rw-r--r--   1 hugo  staff    67B Mar 27 17:44 setup.cfg-rw-r--r--   1 hugo  staff   1.2K Mar 27 17:44 setup.py

With flit, the v2023.3.1 sdist includes:

-rw-r--r--  1 hugo  staff   2.0K Jan  1  1970 PKG-INFO-rw-r--r--  1 hugo  staff   858B Mar 22 15:34 README.rst-rw-r--r--  1 hugo  staff   1.4K Mar 27 17:44 pyproject.tomldrwxr-xr-x  7 hugo  staff   224B Mar 27 17:47 python_docs_theme

With this PR, the sdist includes:

-rw-r--r--  1 hugo  staff   2.4K Mar 22 15:34 LICENSE-rw-r--r--  1 hugo  staff   2.0K Jan  1  1970 PKG-INFO-rw-r--r--  1 hugo  staff   858B Mar 22 15:34 README.rst-rw-r--r--  1 hugo  staff   1.4K Mar 27 17:47 pyproject.tomldrwxr-xr-x  7 hugo  staff   224B Mar 27 17:48 python_docs_theme

befeleme reacted with thumbs up emoji
@MariattaMariatta merged commit4609599 intopython:mainMar 27, 2023
@hugovkhugovk deleted the flit-fix-licence branchMarch 27, 2023 18:06
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@pradyunsgpradyunsgpradyunsg approved these changes

@MariattaMariattaMariatta approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Please include the license file in the sdist (PyPI)
3 participants
@hugovk@pradyunsg@Mariatta

[8]ページ先頭

©2009-2025 Movatter.jp