Closed DarwinAwardWinner closed 6 years ago
Previously, the CLI would always exit with:
Traceback (most recent call last): File "/Users/ryan/.pyenv/versions/3.5.2/bin/picopt", line 9, in <module> load_entry_point('picopt==1.4.0', 'console_scripts', 'picopt')() TypeError: main() missing 1 required positional argument: 'args'
because the setup.py entry point function receives no arguments, and the main function required one argument. That argument is now optional and defaults to sys.argv if not provided.
Out of date. Issue addressed by this PR also handled another way.
Previously, the CLI would always exit with:
because the setup.py entry point function receives no arguments, and the main function required one argument. That argument is now optional and defaults to sys.argv if not provided.