Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move CLI handler into python package folder, update docs #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DeflateAwning
Copy link

This PR moves the main.py CLI entry point into the Python package, as is standard in modern and properly-packaged Python projects.

Now, instead of python main.py, the ways of calling the tool are:

(env) $ gerber_to_scad -h
# Or:
(env) $ python -m gerber_to_scad -h

This adds the added benefit of being able to be published to PyPI and/or installed completely with pipx (a lighter-weight and more standard installation than Poetry, which many people prefer not to use).

Let me know if you have any questions or would like me to help change anything!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant