mirror of
https://github.com/not-kennethreitz/humble.git
synced 2026-06-05 07:06:13 +00:00
ready for release!
This commit is contained in:
+4
-5
@@ -12,8 +12,7 @@ import sys
|
||||
|
||||
from . import core
|
||||
from clint import args
|
||||
from clint.textui import puts, colored, indent
|
||||
from clint.textui.columns import columns
|
||||
from clint.textui import puts, colored, columns
|
||||
|
||||
|
||||
PROJECT_BYLINE = 'by Kenneth Reitz <me@kennethreitz.com>'
|
||||
@@ -22,18 +21,18 @@ PROJECT_URL = 'https://github.com/kennethreitz/humble'
|
||||
|
||||
def show_version():
|
||||
puts('{0} v{1}.'.format(colored.yellow(core.__title__), core.__version__))
|
||||
|
||||
|
||||
|
||||
def show_usage():
|
||||
|
||||
puts('Usage: '+ colored.cyan('humble <username>'))
|
||||
|
||||
|
||||
def show_about():
|
||||
puts('{0} {1}'.format(colored.yellow(core.__title__), PROJECT_BYLINE))
|
||||
puts(PROJECT_URL)
|
||||
|
||||
|
||||
def start():
|
||||
|
||||
if args.flags.contains(('--version', '--ver', '-v')):
|
||||
show_version()
|
||||
sys.exit(2)
|
||||
|
||||
@@ -15,16 +15,16 @@ if sys.argv[-1] == "publish":
|
||||
publish()
|
||||
sys.exit()
|
||||
|
||||
required = ['clint', 'github2']
|
||||
required = ['clint>=0.2.0', 'github2']
|
||||
|
||||
setup(
|
||||
name='humble',
|
||||
version='0.1.0',
|
||||
description='Get a quick GitHub profiles repo list of',
|
||||
description='Shows stats on a given GitHub user.',
|
||||
long_description=open('README.rst').read(),
|
||||
author='Kenneth Reitz',
|
||||
author_email='me@kennethreitz.com',
|
||||
url='https://github.com/kennethreitz/vain',
|
||||
url='https://github.com/kennethreitz/humble',
|
||||
packages= ['humble'],
|
||||
install_requires=required,
|
||||
license='ISC',
|
||||
@@ -40,4 +40,9 @@ setup(
|
||||
# 'Programming Language :: Python :: 3.0',
|
||||
# 'Programming Language :: Python :: 3.1',
|
||||
),
|
||||
entry_points = {
|
||||
'console_scripts': [
|
||||
'humble = humble.cli:start'
|
||||
]
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user