Commit d63e4dc4 authored by Bram Schoenmakers's avatar Bram Schoenmakers

First attempt to create a topydo package.

More or less works, need to make Main.py more accessible.
parent d687f6bc
from distutils.core import setup
setup(
name = "Topydo",
packages = ["topydo", "topydo.lib", "topydo.cli"],
version = "0.1",
description = "A todo list application using the todo.txt format.",
author = "Bram Schoenmakers",
author_email = "me@bramschoenmakers.nl",
url = "https://github.com/bram85/topydo",
download_url = "https://github.com/bram85/topydo/archive/master.zip",
)
#!/bin/bash
export PYTHONPATH=../lib
export PYTHONPATH=../topydo/lib
if [ -n "$1" ]; then
TESTS=$1
......
......@@ -19,27 +19,26 @@
""" Entry file for the Python todo.txt CLI. """
import sys
sys.path.append('../lib')
from AddCommand import AddCommand
from AppendCommand import AppendCommand
from ArchiveCommand import ArchiveCommand
from DeleteCommand import DeleteCommand
from DepCommand import DepCommand
from DepriCommand import DepriCommand
import Config
from DoCommand import DoCommand
from ListCommand import ListCommand
from ListContextCommand import ListContextCommand
from ListProjectCommand import ListProjectCommand
from PostponeCommand import PostponeCommand
from PrettyPrinter import *
from PriorityCommand import PriorityCommand
from SortCommand import SortCommand
from TagCommand import TagCommand
import TodoFile
import TodoList
from Utils import escape_ansi
from topydo.lib.AddCommand import AddCommand
from topydo.lib.AppendCommand import AppendCommand
from topydo.lib.ArchiveCommand import ArchiveCommand
from topydo.lib.DeleteCommand import DeleteCommand
from topydo.lib.DepCommand import DepCommand
from topydo.lib.DepriCommand import DepriCommand
from topydo.lib import Config
from topydo.lib.DoCommand import DoCommand
from topydo.lib.ListCommand import ListCommand
from topydo.lib.ListContextCommand import ListContextCommand
from topydo.lib.ListProjectCommand import ListProjectCommand
from topydo.lib.PostponeCommand import PostponeCommand
from topydo.lib.PrettyPrinter import *
from topydo.lib.PriorityCommand import PriorityCommand
from topydo.lib.SortCommand import SortCommand
from topydo.lib.TagCommand import TagCommand
from topydo.lib import TodoFile
from topydo.lib import TodoList
from topydo.lib.Utils import escape_ansi
def usage():
""" Prints the usage of the todo.txt CLI """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment