mirror of
https://github.com/jongracecox/anybadge.git
synced 2025-12-16 02:20:06 +01:00
Added command line registration (#2)
This commit is contained in:
6
setup.py
6
setup.py
@@ -9,7 +9,6 @@ def get_version():
|
||||
file_text = file_handle.read()
|
||||
version_match = re.search(r'.* __version__ = [\'"]([^\'"]*)[\'"]', file_text)
|
||||
if version_match:
|
||||
print version_match.group(1)
|
||||
return version_match.group(1)
|
||||
raise RuntimeError("Unable to identify version string.")
|
||||
|
||||
@@ -28,5 +27,8 @@ setup(
|
||||
'bdist_wheel': {'universal': True}
|
||||
},
|
||||
platform=['any'],
|
||||
url='https://github.com/jongracecox/anybadge'
|
||||
url='https://github.com/jongracecox/anybadge',
|
||||
entry_points = {
|
||||
'console_scripts': ['anybadge=anybadge:main'],
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user