Permalink
Browse files

Fixing bug where pypi package didn't include README.rst

  • Loading branch information...
1 parent 467f386 commit 67b169a604401e04eec62570f7ac58e9a429ffb7 @wolever committed Apr 12, 2012
Showing with 12 additions and 2 deletions.
  1. +1 −0 MANIFEST.in
  2. +1 −0 libpip2pi/__init__.py
  3. +10 −2 setup.py
View
@@ -0,0 +1 @@
+include README.rst
View
@@ -0,0 +1 @@
+__version__ = (0, 1, 2)
View
@@ -7,17 +7,25 @@
os.chdir(os.path.dirname(sys.argv[0]) or ".")
+try:
+ long_description = open("README.rst", "U").read()
+except IOError:
+ long_description = "See https://github.com/wolever/pip2pi"
+
+import libpip2pi
+version = "%s.%s.%s" %libpip2pi.__version__
+
setup(
name="pip2pi",
- version="0.1.1",
+ version="0.1.2",
url="https://github.com/wolever/pip2pi",
author="David Wolever",
author_email="david@wolever.net",
description="""
pip2pi builds a PyPI-compatible package repository from pip
requirements
""",
- long_description=open("README.rst", "U").read(),
+ long_description=long_description,
packages=find_packages(),
scripts=["pip2pi", "pip2tgz", "dir2pi"],
license="BSD",

0 comments on commit 67b169a

Please sign in to comment.