sysr-q / flask-themes2

Easily theme your Flask app. (Flask-Themes with Flask>=0.6 support!)
Other
19 stars 14 forks source link

Add README.rst to the manifest #1

Closed dirn closed 11 years ago

dirn commented 11 years ago

setup.py includes a function called long_desc which tries to read from README.rst. Because README.rst is not part of the manifest, an IOError is raised when trying to install from PyPI.

$ pip install flask-themes2
Downloading/unpacking flask-themes2
  Downloading Flask-Themes2-0.1.1.tar.gz
  Storing download in cache at /Users/dirn/.pip/cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FF%2FFlask-Themes2%2FFlask-Themes2-0.1.1.tar.gz
  Running setup.py egg_info for package flask-themes2
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/Users/dirn/.virtualenvs/78bc249a2114e3fa/build/flask-themes2/setup.py", line 22, in <module>
        "long_description": long_desc(),
      File "/Users/dirn/.virtualenvs/78bc249a2114e3fa/build/flask-themes2/setup.py", line 9, in long_desc
        with open('README.rst', 'rb') as f:
    IOError: [Errno 2] No such file or directory: 'README.rst'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/Users/dirn/.virtualenvs/78bc249a2114e3fa/build/flask-themes2/setup.py", line 22, in <module>

    "long_description": long_desc(),

  File "/Users/dirn/.virtualenvs/78bc249a2114e3fa/build/flask-themes2/setup.py", line 9, in long_desc

    with open('README.rst', 'rb') as f:

IOError: [Errno 2] No such file or directory: 'README.rst'

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /Users/dirn/.virtualenvs/78bc249a2114e3fa/build/flask-themes2
Storing complete log in /Users/dirn/.pip/pip.log
sysr-q commented 11 years ago

I was darn sure that was in there; I suppose not. Can't believe I've missed it, that's what I get for just updating old code, eh? Thanks.