Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 67b169a604401e04eec62570f7ac58e9a429ffb7 1 parent 467f386
@wolever authored
Showing with 12 additions and 2 deletions.
  1. +1 −0  MANIFEST.in
  2. +1 −0  libpip2pi/__init__.py
  3. +10 −2 setup.py
View
1  MANIFEST.in
@@ -0,0 +1 @@
+include README.rst
View
1  libpip2pi/__init__.py
@@ -0,0 +1 @@
+__version__ = (0, 1, 2)
View
12 setup.py
@@ -7,9 +7,17 @@
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",
@@ -17,7 +25,7 @@
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",
Please sign in to comment.
Something went wrong with that request. Please try again.