./devel/py-flit, Simple packaging tool for simple packages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.10.1, Package name: py312-flit-3.10.1, Maintainer: pkgsrc-users

Flit is a simple way to put Python packages and modules on PyPI.

It tries to require less thought about packaging and help you avoid
common mistakes.


Master sites:

Filesize: 139.807 KB

Version history: (Expand)


CVS history: (Expand)


   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-10-26 01:00:33 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-flit: fix wrong DEPENDS

Even when you want one particular package version, you must always consider
PKGREVISION.
   2023-05-15 09:18:20 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-flit_core py_flit: updated to 3.9.0

Version 3.9

New options flit build --use-vcs and flit build --no-use-vcs to enable & \ 
disable including all committed files in the sdist. For now --use-vcs is the \ 
default, but this is likely to change in a future version, to bring flit build \ 
in line with standard build frontends like python -m build.
Sdist file names, and the name of the top-level folder in an sdist, are now \ 
normalised, in accordance with PEP 625.
A statically defined version number can now be parsed from files called \ 
version.py, _version.py or __version__.py inside a packge, as well as from \ 
__init__.py, so executing code is required in fewer cases.
Fix setting the flag for regular files in zip metadata.
The timestamp embedded in the gzip wrapper for sdists now defaults to a fixed \ 
date, so building an sdist twice on the same machine should produce identical \ 
results, even without any special steps. Setting SOURCE_DATE_EPOCH is still \ 
recommended for properly reproducible builds.
   2022-11-14 10:09:27 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
py-flit_core py-flit: updated to 3.8.0

Version 3.8

A project name containing hyphens is now automatically translated to use \ 
underscores for the import name
New option flit install --only-deps to install the dependencies of the package, \ 
but not the package itself.
Add support for recursive globbing (**) in sdist includes and excludes
Python’s bytecode cache files (__pycache__ folders and .pyc files) are now \ 
always excluded from sdists
Use tomllib in Python 3.11, rather than tomli
Fix crash when unable to get a password from keyring
Fix including modified files in sdist when using Mercurial
Fix for some cases of determining whether a package supports Python 2 or not
Fix parsing version number from code using multiple assignments
Document how to use a PyPI token with FLIT_PASSWORD
Fix link to information about environment variables for pip
Link to the docs for the latest stable version in package metadata
Remove a mention of the toml package, which is no longer needed, from the \ 
Developing Flit page
The bootstrap install script for flit_core accepts a new --install-root option.
Ensure the license file is included in packages on PyPI
   2022-04-07 14:28:15 by Adam Ciarcinski | Files touched by this commit (7) | Package updated
Log message:
py-flit_core py-flit: updated to 3.7.1

Version 3.7.1

Fix building packages which need execution to get the version number, and have a \ 
relative import in __init__.py.

Version 3.7

Support for external data files such as man pages or Jupyter extension support files.
Project names are now lowercase in wheel filenames and .dist-info folder names, \ 
in line with the specification.
Improved support for bootstrapping a Python environment, e.g. for downstream \ 
packagers. flit_core.wheel is usable with python -m to create wheels before the \ 
build tool is available, and flit_core sdists also include a script to install \ 
itself from a wheel before installer is available.
Use newer importlib APIs, fixing some deprecation warnings
   2022-01-10 20:17:10 by Adam Ciarcinski | Files touched by this commit (8) | Package updated
Log message:
py-flit_core py-flit: updated o 3.6.0

Version 3.6

flit_core now bundles the tomli TOML parser library (version 1.2.3) to avoid a \ 
circular dependency between flit_core and tomli

Version 3.5.1

Fix development installs with flit install --symlink and --pth-file, which were \ 
broken in 3.5.0, especially for packages using a src folder

Version 3.5

You can now use Flit to distribute a module or package inside a namespace \ 
package (as defined by PEP 420). To do this, specify the import name of the \ 
concrete, inner module you are packaging - e.g. name = \ 
"sphinxcontrib.foo" - either in the [project] table, or under \ 
[tool.flit.module] if you want to use a different name on PyPI
Flit no longer generates a setup.py file in sdists (.tar.gz packages) by default
Fixed how flit init handles authors' names with non-ASCII characters
When flit init generates a LICENSE file, the new pyproject.toml now references it

Version 3.4

Python 3.6 or above is now required, both for flit and flit_core.
Add a --setup-py option to flit build and flit publish, and a warning when \ 
neither this nor --no-setup-py are specified
Add support for standardised editable installs - pip install -e - according to \ 
PEP 660
Add a --pypirc option for flit publish to specify an alternative path to a \ 
.pypirc config file describing package indexes
Fix installing dependencies specified in a [project] table
Fix building wheels when SOURCE_DATE_EPOCH (see :doc:`reproducible`) is set to a \ 
date before 1980
Switch to using the tomli TOML parser, in common with other packaging projects
Add a document on :doc:`bootstrap`

Version 3.3

PKG-INFO files in sdists are now generated the same way as METADATA in wheels, \ 
fixing some issues with sdists
flit publish now sends SHA-256 hashes, fixing uploads to GitLab package repositories
The [project] metadata table from PEP 621 is now fully supported and \ 
:ref:`documented <pyproject_toml_project>`. Projects using this can now \ 
specify requires = ["flit_core >=3.2,<4"] in the [build-system] \ 
table.

Version 3.2

Experimental support for specifying metadata in a [project] table in \ 
pyproject.toml as specified by PEP 621
Fix writing METADATA file with multi-line information in certain fields such as \ 
Author
Fix building wheel when a directory such as LICENSES appears in the project root \ 
directory

Version 3.1

Update handling of names & version numbers in wheel filenames and .dist-info \ 
folders in line with changes in the specs
Switch from the deprecated pytoml package to toml
Fix specifying backend-path in pyproject.toml for flit-core (as a list instead \ 
of a string).
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles