miracle2k / python-closure

Closure compiler packaged for Python

Home Page:http://pypi.python.org/pypi/closure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

open('README') should be open('README.rst') in setup.py

opened this issue · comments

This bug applies only to the master branch, not to the PyPi package.

In a Windoze command-line session, the following error is encountered when attempting an install:

C:\Users\nwilson\Downloads\miracle2k-python-closure-cf7eeeb>setup install
Traceback (most recent call last):
  File "C:\Users\nwilson\Downloads\miracle2k-python-closure-cf7eeeb\setup.py", line 8, in <module>
    long_description=open('README').read(),
IOError: [Errno 2] No such file or directory: 'README'

This can be avoided either by renaming README.rst to README or modifying setup.py:8 to

    long_description=open('README.rst').read()

Thank you.