Skip to content
Browse files

fix up README with pylons project links, make it an .rst and fix up s…

…etup.py
  • Loading branch information...
1 parent 891a31d commit f88dcd83dc0d6bcfee381dd78813b1294eceb099 @goodwillcoding goodwillcoding committed Aug 1, 2013
Showing with 9 additions and 4 deletions.
  1. +2 −2 README.txt → README.rst
  2. +7 −2 setup.py
View
4 README.txt → README.rst
@@ -2,8 +2,8 @@ pyramid_deform
==============
``pyramid_deform`` provides bindings for the Pyramid web framework to the
-`Deform <http://pylons.readthedocs.org/projects/deform/en/latest/>`_ form
+`Deform <http://docs.pylonsproject.org/projects/deform>`_ form
library.
For more information, see `the documentation
-<http://pylons.readthedocs.org/projects/pyramid_deform/en/latest/>`_.
+<http://docs.pylonsproject.org/projects/pyramid_deform>`_.
View
9 setup.py
@@ -19,8 +19,13 @@
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(here, 'README.txt')).read()
-CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
+try:
+ with open(os.path.join(here, 'README.txt')) as f:
+ README = f.read()
+ with open(os.path.join(here, 'CHANGES.txt')) as f:
+ CHANGES = f.read()
+except IOError:
+ README = CHANGES = ''
install_requires = [
'pyramid',

0 comments on commit f88dcd8

Please sign in to comment.
Something went wrong with that request. Please try again.