upgrade external wakatime package to v1.0.2
This commit is contained in:
parent
d907ce8c5b
commit
fa6a6a8dd8
|
@ -1,9 +1,9 @@
|
||||||
WakaTime
|
WakaTime
|
||||||
========
|
========
|
||||||
|
|
||||||
Fully automatic time tracking for your text editor.
|
Fully automatic time tracking for programmers.
|
||||||
|
|
||||||
This is the common interface for the WakaTime api. You shouldn't need to directly use this package unless you are creating a new plugin.
|
This is the common interface for the WakaTime api. You shouldn't need to directly use this package unless you are creating a new plugin or your text editor's plugin asks you to install the wakatime-cli interface.
|
||||||
|
|
||||||
Go to http://wakatime.com to install the plugin for your text editor.
|
Go to http://wakatime.com to install the plugin for your text editor.
|
||||||
|
|
||||||
|
@ -11,4 +11,10 @@ Go to http://wakatime.com to install the plugin for your text editor.
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
https://wakatime.com/help/plugins/installing-plugins
|
pip install wakatime
|
||||||
|
|
||||||
|
|
||||||
|
Usage
|
||||||
|
-----
|
||||||
|
|
||||||
|
https://wakatime.com/
|
||||||
|
|
|
@ -11,13 +11,10 @@ setup(
|
||||||
name='wakatime',
|
name='wakatime',
|
||||||
version=VERSION,
|
version=VERSION,
|
||||||
license='BSD 3 Clause',
|
license='BSD 3 Clause',
|
||||||
description=' '.join([
|
description='Interface to the WakaTime api.',
|
||||||
'Action event appender for WakaTime, a time',
|
|
||||||
'tracking api for text editors.',
|
|
||||||
]),
|
|
||||||
long_description=open('README.rst').read(),
|
long_description=open('README.rst').read(),
|
||||||
author='Alan Hamlett',
|
author='Alan Hamlett',
|
||||||
author_email='alan.hamlett@gmail.com',
|
author_email='alan@wakatime.com',
|
||||||
url='https://github.com/wakatime/wakatime',
|
url='https://github.com/wakatime/wakatime',
|
||||||
packages=packages,
|
packages=packages,
|
||||||
package_dir={'wakatime': 'wakatime'},
|
package_dir={'wakatime': 'wakatime'},
|
||||||
|
@ -28,7 +25,7 @@ setup(
|
||||||
'console_scripts': ['wakatime = wakatime.__init__:main'],
|
'console_scripts': ['wakatime = wakatime.__init__:main'],
|
||||||
},
|
},
|
||||||
classifiers=(
|
classifiers=(
|
||||||
'Development Status :: 3 - Alpha',
|
'Development Status :: 5 - Production/Stable',
|
||||||
'Environment :: Console',
|
'Environment :: Console',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
'License :: OSI Approved :: BSD License',
|
'License :: OSI Approved :: BSD License',
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
__title__ = 'wakatime'
|
__title__ = 'wakatime'
|
||||||
__version__ = '1.0.1'
|
__version__ = '1.0.2'
|
||||||
__author__ = 'Alan Hamlett'
|
__author__ = 'Alan Hamlett'
|
||||||
__license__ = 'BSD'
|
__license__ = 'BSD'
|
||||||
__copyright__ = 'Copyright 2013 Alan Hamlett'
|
__copyright__ = 'Copyright 2013 Alan Hamlett'
|
||||||
|
@ -148,6 +148,8 @@ def parseArguments(argv):
|
||||||
parser.add_argument('--plugin', dest='plugin',
|
parser.add_argument('--plugin', dest='plugin',
|
||||||
help='optional text editor plugin name and version '+
|
help='optional text editor plugin name and version '+
|
||||||
'for User-Agent header')
|
'for User-Agent header')
|
||||||
|
parser.add_argument('--project', dest='project_name',
|
||||||
|
help='optional project name; will auto-discover by default')
|
||||||
parser.add_argument('--key', dest='key',
|
parser.add_argument('--key', dest='key',
|
||||||
help='your wakatime api key; uses api_key from '+
|
help='your wakatime api key; uses api_key from '+
|
||||||
'~/.wakatime.conf by default')
|
'~/.wakatime.conf by default')
|
||||||
|
@ -313,7 +315,7 @@ def main(argv=None):
|
||||||
project_name = None
|
project_name = None
|
||||||
if project:
|
if project:
|
||||||
branch = project.branch()
|
branch = project.branch()
|
||||||
project_name = project.name()
|
project_name = args.project_name or project.name()
|
||||||
|
|
||||||
if send_action(
|
if send_action(
|
||||||
project=project_name,
|
project=project_name,
|
||||||
|
|
Loading…
Reference in New Issue