wroberts / pytimeparse

A small Python module to parse various kinds of time expressions.
MIT License
285 stars 39 forks source link

pip install from PyPI failing #1

Closed catherinedevlin closed 9 years ago

catherinedevlin commented 10 years ago

Installing works fine from the github repo, but I'm getting a failure with pip.

(ipy1) {master} ~/sw/pytimeparse$ python --version
Python 2.7.4
(ipy1) {master} ~/sw/pytimeparse$ pip install pytimeparse
Downloading/unpacking pytimeparse
  Downloading pytimeparse-1.0.0.tar.gz
  Running setup.py egg_info for package pytimeparse
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/home/catherine/ve/ipy1/build/pytimeparse/setup.py", line 13, in <module>
    with open('README.rst') as file:
    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 "/home/catherine/ve/ipy1/build/pytimeparse/setup.py", line 13, in <module>

    with open('README.rst') as file:

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

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/catherine/ve/ipy1/build/pytimeparse
Storing complete log in /tmp/tmpQf_lo8

I might be able to look for a fix in a couple days.

wroberts commented 10 years ago

Hi Catherine,

Thanks very much for the bug report. I put 1.0.1 up on PyPI today which includes README.rst in the distribution tarball. I think this should fix the pip install error.

On 22 Apr, 2014, at 00:12 , Catherine Devlin wrote:

Installing works fine from the github repo, but I'm getting a failure with pip.

(ipy1) {master} ~/sw/pytimeparse$ python --version Python 2.7.4 (ipy1) {master} ~/sw/pytimeparse$ pip install pytimeparse Downloading/unpacking pytimeparse Downloading pytimeparse-1.0.0.tar.gz Running setup.py egg_info for package pytimeparse Traceback (most recent call last): File "", line 16, in File "/home/catherine/ve/ipy1/build/pytimeparse/setup.py", line 13, in with open('README.rst') as file: 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 "", line 16, in

File "/home/catherine/ve/ipy1/build/pytimeparse/setup.py", line 13, in

with open('README.rst') as file:

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


Cleaning up... Command python setup.py egg_info failed with error code 1 in /home/catherine/ve/ipy1/build/pytimeparse Storing complete log in /tmp/tmpQf_lo8 I might be able to look for a fix in a couple days.

— Reply to this email directly or view it on GitHub.

catherinedevlin commented 10 years ago

Danke schoen! I just flooded you with pull requests, hope you don't mind!

On Tue, Apr 22, 2014 at 5:33 AM, Will Roberts notifications@github.comwrote:

Hi Catherine,

Thanks very much for the bug report. I put 1.0.1 up on PyPI today which includes README.rst in the distribution tarball. I think this should fix the pip install error.

  • Will

On 22 Apr, 2014, at 00:12 , Catherine Devlin wrote:

Installing works fine from the github repo, but I'm getting a failure with pip.

(ipy1) {master} ~/sw/pytimeparse$ python --version Python 2.7.4 (ipy1) {master} ~/sw/pytimeparse$ pip install pytimeparse Downloading/unpacking pytimeparse Downloading pytimeparse-1.0.0.tar.gz Running setup.py egg_info for package pytimeparse Traceback (most recent call last): File "", line 16, in File "/home/catherine/ve/ipy1/build/pytimeparse/setup.py", line 13, in

with open('README.rst') as file: 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 "", line 16, in File "/home/catherine/ve/ipy1/build/pytimeparse/setup.py", line 13, in with open('README.rst') as file: IOError: [Errno 2] No such file or directory: 'README.rst' --- Cleaning up... Command python setup.py egg_info failed with error code 1 in /home/catherine/ve/ipy1/build/pytimeparse Storing complete log in /tmp/tmpQf_lo8 I might be able to look for a fix in a couple days. — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/wroberts/pytimeparse/issues/1#issuecomment-41020471 .

jaraco commented 3 years ago

I stumbled into this issue today when the pip resolver attempted to build every version of this package and failed when it got to 1.0.0. Since that package probably never worked, would you consider deleting that release or yanking it?

wroberts commented 3 years ago

@jaraco 1.0.0 deleted now.