Skip to content

Commit

Permalink
Merge pull request #7 from iandennismiller/packaging
Browse files Browse the repository at this point in the history
This is awesome, thanks! I'm going to clean up a few things I found and get an official release onto pypi right away.
  • Loading branch information
handyman5 committed Nov 5, 2012
2 parents 2f94c95 + a971f35 commit 77c3d62
Show file tree
Hide file tree
Showing 16 changed files with 46 additions and 6 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
SHELL=/bin/bash

clean:
rm -rf build dist *.egg-info *.pyc

install:
python setup.py install

test:
@echo test

.PHONY: clean install test
5 changes: 5 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Installation
============

make install

NEWS
====
2012-10-06
Expand Down
6 changes: 3 additions & 3 deletions cycle → bin/cycle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/python

from apiclient import PoodledoError
from cli import do_login, get_config, get_tag, get_cutoff
from poodledo.apiclient import PoodledoError
from poodledo.cli import do_login, get_config, get_tag, get_cutoff
from datetime import datetime, timedelta
from dateutil import tz
from lexer import parse, USAGE
from poodledo.lexer import parse, USAGE
from optparse import OptionParser
from sys import exit
from time import mktime, localtime
Expand Down
6 changes: 3 additions & 3 deletions tdcli → bin/tdcli
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/python

from apiclient import PoodledoError
from cli import do_login
from lexer import parse, USAGE
from poodledo.apiclient import PoodledoError
from poodledo.cli import do_login
from poodledo.lexer import parse, USAGE
from optparse import OptionParser
from sys import exit
import readline
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
from setuptools import setup, find_packages
import os, shutil

version = '0.1'

setup(name='poodledo',
version=version,
description="poodledo",
scripts=[
"bin/tdcli",
"bin/cycle",
],
long_description="""toodledo python API""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='',
author='',
author_email='',
url='',
install_requires = ['parsedatetime', 'plex'],
packages = ["poodledo"],
license='MIT',
zip_safe=False,
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 77c3d62

Please sign in to comment.