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 digits-devserver to allow "python -m digits" #1121

Merged
merged 3 commits into from
Sep 26, 2016

Conversation

lukeyeager
Copy link
Member

This is a totally transparent change because I've left a working digits-devserver script in place.

Other projects with a __main__.py: Flask, pip, lmdb, etc.

I think this change is useful as-is. Future changes/improvements could be:

  • Get rid of the digits-devserver and digits-server scripts entirely
  • Refactor __main__.py to move most code into another file like digits/main.py or digits/cli.py
  • Change setup.py to use entry_points={'console_scripts'=[...]} (blog post)

@lukeyeager lukeyeager merged commit c28e8d4 into NVIDIA:master Sep 26, 2016
@lukeyeager lukeyeager deleted the move-digits-devserver branch September 26, 2016 21:08
SlipknotTN pushed a commit to cynnyx/DIGITS that referenced this pull request Mar 30, 2017
Move digits-devserver to allow "python -m digits"
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.

None yet

1 participant