Replace use of scripts
with cross-platform entry_points
#310
Labels
type: chore
Changes to the build process or auxiliary tools and libraries such as documentation generation
Problem
In looking into #309, I see that
scripts
are being used. These are troublesome for cross-platform downstreams, as they make otherwise-well-behaved distributions less portable.Proposal
Migrate from
scripts
toentry_points
, where:scripts/gql-cli
would be move togql/cli.py
main
is already named there, might have a different name, e.g.entry_point_main
setup.py
would be updated, a la:This would also allow the noarch python wheels to be created, which would be helpful for performance and security without increasing the maintenance/build burden much.
The text was updated successfully, but these errors were encountered: