Cannot install version from PyPi #6

Closed
fatbox opened this Issue Jan 5, 2011 · 4 comments

Projects

None yet

5 participants

@fatbox
fatbox commented Jan 5, 2011

Trying to install django-fixture-magic from pypi results in an error:

Downloading/unpacking django-fixture-magic (from -r requirements.txt (line 15))
  Downloading django-fixture-magic-0.0.2.macosx-10.6-i386.tar.gz
  Running setup.py egg_info for package django-fixture-magic
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
    IOError: [Errno 2] No such file or directory: '/home/evan/python-envs/plat/build/django-fixture-magic/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

IOError: [Errno 2] No such file or directory: '/home/evan/python-envs/plat/build/django-fixture-magic/setup.py'

Installing direct from github using -e git works.

The machine is running python 2.5 on Debian Lenny.

@spool
spool commented Apr 17, 2011

Same problem on Snow Leopard in a virtualenv on python2.6.

@zenweasel

Same problem when cloning full project and running setup on Ubuntu 11.04 and virtualenv.

@fourk
Contributor
fourk commented Jun 7, 2011

Same problem with the macosx-10.6-i386 package. It seems that the archive on pypi has a bizarre directory structure (unsure of what caused it, maybe you ran sdist inside of a virtual environment?). I believe the code on pypi needs to be updated. I, outside of any virtual environments, attempted to increase the version number by one, then ran python setup.py sdist and when I expanded the archive that it generated, the directory structure seemed to be correct, containing no references to any of my virtual environments.

Here's what happens with the current version on pypi:
[23:43:03]jamesburkhart@:/tmp/test3$ curl http://pypi.python.org/packages/any/d/django-fixture-magic/django-fixture-magic-0.0.2.macosx-10.6-i386.tar.gz#md5=c6945011d91504b303ef8180993aafaf --O django-fixture-magic-0.0.2.macosx-10.6-i386.tar.gz
[23:43:32]jamesburkhart@:/tmp/test3$ tar -xzvf django-fixture-magic-0.0.2.macosx-10.6-i386.tar.gz
x ./ x ./Users/ x ./Users/dash/ x ./Users/dash/.virtualenvs/ x ./Users/dash/.virtualenvs/zamboni/ x ./Users/dash/.virtualenvs/zamboni/lib/ x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/ x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/ x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/django_fixture_magic-0.0.2-py2.6.egg-info/ x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/ x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/__init__.py x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/__init__.pyc x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/ x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/utils.py x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/utils.pyc x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/__init__.py x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/__init__.pyc x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/base.py x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/ x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/__init__.py x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/__init__.pyc x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/custom_dump.py x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/custom_dump.pyc x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/dump_object.py x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/dump_object.pyc x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/merge_fixtures.py x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/merge_fixtures.pyc x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/reorder_fixtures.py x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/fixture_magic/management/commands/reorder_fixtures.pyc x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/django_fixture_magic-0.0.2-py2.6.egg-info/dependency_links.txt x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/django_fixture_magic-0.0.2-py2.6.egg-info/PKG-INFO x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/django_fixture_magic-0.0.2-py2.6.egg-info/SOURCES.txt x ./Users/dash/.virtualenvs/zamboni/lib/python2.6/site-packages/django_fixture_magic-0.0.2-py2.6.egg-info/top_level.txt

Here's what it should look like:

[23:45:07]jamesburkhart@:/work/django-fixture-magic$ python setup.py sdist
(output omitted)
[23:45:38]jamesburkhart@:
/work/django-fixture-magic$ cd dist/
[23:45:45]jamesburkhart@:~/work/django-fixture-magic/dist$ tar -xzvf django-fixture-magic-0.0.3.tar.gz
x django-fixture-magic-0.0.3/ x django-fixture-magic-0.0.3/django_fixture_magic.egg-info/ x django-fixture-magic-0.0.3/fixture_magic/ x django-fixture-magic-0.0.3/LICENSE x django-fixture-magic-0.0.3/MANIFEST.in x django-fixture-magic-0.0.3/PKG-INFO x django-fixture-magic-0.0.3/README.rst x django-fixture-magic-0.0.3/setup.cfg x django-fixture-magic-0.0.3/setup.py x django-fixture-magic-0.0.3/fixture_magic/__init__.py x django-fixture-magic-0.0.3/fixture_magic/management/ x django-fixture-magic-0.0.3/fixture_magic/utils.py x django-fixture-magic-0.0.3/fixture_magic/management/__init__.py x django-fixture-magic-0.0.3/fixture_magic/management/base.py x django-fixture-magic-0.0.3/fixture_magic/management/commands/ x django-fixture-magic-0.0.3/fixture_magic/management/commands/__init__.py x django-fixture-magic-0.0.3/fixture_magic/management/commands/custom_dump.py x django-fixture-magic-0.0.3/fixture_magic/management/commands/dump_object.py x django-fixture-magic-0.0.3/fixture_magic/management/commands/merge_fixtures.py x django-fixture-magic-0.0.3/fixture_magic/management/commands/reorder_fixtures.py x django-fixture-magic-0.0.3/django_fixture_magic.egg-info/dependency_links.txt x django-fixture-magic-0.0.3/django_fixture_magic.egg-info/PKG-INFO x django-fixture-magic-0.0.3/django_fixture_magic.egg-info/SOURCES.txt x django-fixture-magic-0.0.3/django_fixture_magic.egg-info/top_level.txt

@davedash
Owner

Hi, someone recently fixed this. Sorry about the delay.

@davedash davedash closed this May 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment