Created
November 28, 2010 23:56
-
-
Save peterbe/719413 to your computer and use it in GitHub Desktop.
This doesn't work: When you pip install it you get: IOError: [Errno 2] No such file or directory: '/home/peterbe/bin/build/python-donecal/README.md'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from setuptools import setup | |
import sys, os | |
version = '0.2.3' | |
here = os.path.dirname(__file__) | |
def read(fname): | |
return open(os.path.join(os.path.dirname(__file__), fname)).read() | |
def md2stx(s): | |
import re | |
s = re.sub(':\n(\s{8,10})', r'::\n\1', s) | |
return s | |
setup(name='python-donecal', | |
version=version, | |
description="Python interface for the donecal.com restful HTTP API", | |
long_description=md2stx(read('README.md')), | |
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers | |
keywords='donecal rest api donecal.com', | |
author='Peter Bengtsson', | |
author_email='mail@peterbe.com', | |
url='http://donecal.com/help/API#Python', | |
license='BSD', | |
packages=[ | |
'donecal', | |
], | |
include_package_data=True, | |
zip_safe=False, | |
install_requires=[ | |
'anyjson', | |
], | |
entry_points=""" | |
# -*- Entry points: -*- | |
""", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment