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

dvc: automatically create scripts #58

Merged
merged 1 commit into from
May 2, 2017
Merged

Conversation

efiop
Copy link
Contributor

@efiop efiop commented May 2, 2017

Had to rename dvc.py to dvc_main.py to avoid conflict with dvc package.
Also moved to main function to allow automatic script creation.

Signed-off-by: Ruslan Kuprieiev [email protected]

dvc_main.py Outdated
@@ -42,7 +42,7 @@ def print_usage():
'')
print('\n'.join(usage))

if __name__ == '__main__':
Copy link
Member

@dmpetrov dmpetrov May 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we keep something like this?

if __name__ == "__main__":
   main()

Moving dvc.py contents to dvc/main.py and making
dvc.py to be just a wrapper for calling dvc/main.py.
This will allow us to both keep changes minimal and
use automatic script building.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
@dmpetrov dmpetrov merged commit 6debf8e into iterative:master May 2, 2017
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.

2 participants