aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile (unfollow)
Commit message (Collapse)AuthorLines
7 daysTrack dependencies in the MakefileJuhani Krekelä-1/+3
Previously "make install" would install a stale later.pyz if it existed. Mark all of the files under src/ as dependencies to later.pyz to have it be regenerated if any of them are modified.
2024-11-11Migrate to proper Python package layoutWolfgang Müller-3/+12
Up until now we've kept the entirety of later(1)'s functionality in one file. Whilst this is perfectly fine for smaller scripts, the functionality of later(1) has grown to a size where this become less feasible. Since we expect it to grow even further, switch to a "proper" source layout sooner rather than later. This will allow easier extension, testing and packaging later on. Since we want to keep installation simple for end-users still, package later(1) as a zipapp [1] in the Makefile. When installed, this file can be executed just like the single Python script before it. Using this way of installation is not mandatory however, the package layout also supports regular installation with pip and development with poetry. [1] https://docs.python.org/3.12/library/zipapp.html