All notable changes to this project after version 1.0.3 will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- don't resolve symlinks when hashing executable #67
- add
data_filekey in configuration option - add
REENTRY_DATA_FILEenvironment variable
- drop support for
reentry_scanhook since pip 19 introduced build-system isolation that restricts scans performed by the hook to the build-system (containing only setuptools, wheel, reentry, etc.). manager.scan: renamed negated options (nocommit=>commit,nodelete=>delete)
- add
reentry clearcommand to clear the reentry cache
- replace py with pathlib/pathlib2, reducing dependencies for python 3
- config file:
- use hashed (shorter) filename
- resolve symlinks in file path
- recognize
XDG_CONFIG_HOMEenvironment variable
- move entry points, classifiers etc. to
setup.jsonfile
- data file is now composed of the directory in which the python executable sits and the python major version (2 or 3)
- setuptools relevant entry points can now be registered if specifically asked for
PluginManager.scan:group_rekwarg now allows string regex tooPluginManager.iter_entry_points: now scans by default if group or entry point not foundPluginManager: new constructor kwargscan_for_not_founddefaults toTrue, set toFalseto fail faster when no cached group / entry point is found.JsonBackend,BackendInterface: Thewrite_*_dist()methods have been replaced byscan_*dist(), the output of which can be passed to thewrite_dist_map()method.JsonBackend.epmap: promoted to read-only property, returns copy of internal map.
- data file name based on
sys.executableto make sure entry points registered during install phase are available afterwards reentry_scanduring install no longer overwrites, but only adds (distributions installed simultaneously in onepipinvocation can not discover each other's entry points and might overwrite each other)
- setup coveralls
- added coverage badge to REAME
- cli:
reentry dev coverallsruns coveralls only if TRAVIS env variable is set - read data dir from REENTRY_DATADIR env variable (env > rcfile > default)
- CI test for registering entry points from the plugin host
- documented limitations of
reentry_scan - documented compatibility issues with
setup_requires
- fixed a bug that prevented from installing on windows
- fixed a bug that prevented from installing in python 2.7 (added regression test)
- reentry now reads configuration from ~/.reentryrc or ~/.config/reentry/config if exists
- configuration key: datadir, defaults to ~/.config/reentry/data/
- entry points are now stored in a file in ~/.config/reentry/data/, named individually per installation
- setup-hook
reentry_registeris now working and tested on Travis-CI reentry_registernow checks and does nothing if distribution has no entry points- setup-hook
reentry_scanis now working and tested on Travis-CI
- reentry can now cache entry points even if the user has no write permission in it's install dir
- JsonBackend API: small changes to the distribution writing methods