Skip to content

Commit

Permalink
Enable 'python -m gluonts'. (#2292)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper authored Sep 12, 2022
1 parent c831753 commit cf4edf4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/gluonts/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license" file accompanying this file. This file is distributed
# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.

from gluonts.meta import cli

if __name__ == "__main__":
cli.cli()
File renamed without changes.

0 comments on commit cf4edf4

Please sign in to comment.