Skip to content

Instantly share code, notes, and snippets.

@peterbe
Created November 28, 2010 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterbe/719413 to your computer and use it in GitHub Desktop.
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'
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