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

Feature: --version to command line utility #4

Closed
RhetTbull opened this issue Nov 28, 2019 · 1 comment
Closed

Feature: --version to command line utility #4

RhetTbull opened this issue Nov 28, 2019 · 1 comment
Labels
feature request New feature or request
Projects

Comments

@RhetTbull
Copy link
Owner

Add --version option to cmd_line.py

@RhetTbull RhetTbull changed the title Add --version to command line utility Feature: --version to command line utility Dec 2, 2019
@RhetTbull RhetTbull added the feature request New feature or request label Dec 2, 2019
@RhetTbull
Copy link
Owner Author

Update version in setup.py. See this snippet from requests/setup.py:

https://github.com/psf/requests

about = {}
with open(os.path.join(here, 'requests', 'version.py'), 'r', 'utf-8') as f:
exec(f.read(), about)

with open('README.md', 'r', 'utf-8') as f:
readme = f.read()
with open('HISTORY.md', 'r', 'utf-8') as f:
history = f.read()

setup(
name=about['title'],
version=about['version'],
description=about['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=about['author'],
author_email=about['author_email'],
url=about['url'],

@RhetTbull RhetTbull added this to To do in Features Dec 7, 2019
@RhetTbull RhetTbull moved this from To do to In progress in Features Dec 7, 2019
@RhetTbull RhetTbull moved this from In progress to Done in Features Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
No open projects
Features
  
Done
Development

No branches or pull requests

1 participant