neroden / timetable_kit

A Python toolkit for generating human-readable timetables from GTFS data; uses PANDAS and gtfs_kit
GNU Affero General Public License v3.0
39 stars 2 forks source link

Make installable #17

Closed Borketh closed 6 months ago

Borketh commented 6 months ago

These changes mean that any user can install timetable_kit with a python package manager and then use

python -m timetable_kit

in any directory instead of

python path/to/timetable.py
neroden commented 6 months ago

The .gitignore change is simply incorrect. This repository is the canonical source for most of the stuff in those three folders.

There's probably some cleanup to be done in the fonts/ folder to remove the other fonts which aren't SpartanTT. But this is the canonical source for SpartanTT -- it's not downloaded from anywhere else! I own it. It's licensed under the OFL.

The connecting_services/logos folder contains a bunch of custom-written .css files for scaling (these are part of timetable_kit), as well as extensive notes on exactly how the suitable redistributable vector-graphics copies of each logo in the correct format were found (which was a PITA which took weeks and weeks of work). It needs to stay in Github; nobody wants to redo that work.

The icons/ folder also contains custom-written CSS, as well as fully-open-source icons, some of which are custom (I drew one of them by hand). The only non-open-source / trademarked logo is the RPA one -- which I had to hack rather heavily for internal technical reasons (though it looks the same), and this is the only canonical source for a useable copy of it.

I am committing the other commit to make the package installable, thank you for it!

Borketh commented 6 months ago

Understood, sorry for the wrong stuff.