wlanslovenija / django-tastypie-mongoengine

MongoEngine support for django-tastypie.
Other
73 stars 59 forks source link

Installing with pip fails #4

Closed agiz closed 12 years ago

agiz commented 12 years ago

OS: OS X 10.7.3

$ pip install django-tastypie-mongoengine
Downloading/unpacking django-tastypie-mongoengine
  Downloading django-tastypie-mongoengine-0.1.tar.gz
  Running setup.py egg_info for package django-tastypie-mongoengine
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "user/env_piplmesh/build/django-tastypie-mongoengine/setup.py", line 12, in <module>
        long_description = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
    IOError: [Errno 2] No such file or directory: user/env_piplmesh/build/django-tastypie-mongoengine/README.rst'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

  File "user/env_piplmesh/build/django-tastypie-mongoengine/setup.py", line 12, in <module>

    long_description = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),

IOError: [Errno 2] No such file or directory: 'user/env_piplmesh/build/django-tastypie-mongoengine/README.rst'

----------------------------------------
Command python setup.py egg_info failed with error code 1 in user/env_piplmesh/build/django-tastypie-mongoengine
Storing complete log in user/.pip/pip.log
agiz commented 12 years ago

Solution:

Add README.rst from https://github.com/mitar/django-tastypie-mongoengine/blob/master/README.rst to user/env_piplmesh/build/django-tastypie-mongoengine/
mitar commented 12 years ago

Fixed in version 0.1.1, available on PyPI (and through pip). Thanks for report.

mitar commented 12 years ago

Your solution is not good because we want automatic installation of dependencies (requirements). Please make sure that you upgrade to 0.1.1.

mitar commented 12 years ago

And that that version will be in requirements.txt.