diff --git a/.gitignore b/.gitignore index 89e8265..821089d 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,9 @@ var/ .installed.cfg *.egg +# IDE's +/.idea + # Installer logs pip-log.txt pip-delete-this-directory.txt diff --git a/setup.py b/setup.py index 013e357..0675a26 100755 --- a/setup.py +++ b/setup.py @@ -3,6 +3,7 @@ import sys from setuptools import find_packages, setup +import ti def read(*filenames, **kwargs): @@ -18,7 +19,7 @@ def read(*filenames, **kwargs): setup( name="ti", - version="0.1.1.dev0", + version=ti.__version__, author="Shrikant Sharat", author_email="shrikantsharat.k@gmail.com", packages=find_packages(), @@ -29,10 +30,14 @@ def read(*filenames, **kwargs): long_description=read('README.rst', 'CHANGES.rst'), entry_points={ 'console_scripts': [ - 'ti = ti:main', + 'ti = ti.time_tracking:main', ] }, - install_requires=["colorama", "pyyaml"], + install_requires=[ + "colorama", + "PyYAML", + "tabulate" + ], setup_requires=["pytest-runner"] if testing else [], tests_require=["pytest", "cram", "pytest-cram"], extras_require={ diff --git a/ti/__init__.py b/ti/__init__.py index 483736f..8c354f8 100755 --- a/ti/__init__.py +++ b/ti/__init__.py @@ -1,46 +1,8 @@ # coding: utf-8 - -""" -ti is a simple and extensible time tracker for the command line. Visit the -project page (http://ti.sharats.me) for more details. - -Usage: - ti (o|on) [