fos / fos-legacy

Legacy version of fos
BSD 3-Clause "New" or "Revised" License
15 stars 5 forks source link

pip install fails when called directly with github source #3

Open satra opened 13 years ago

satra commented 13 years ago

pip install -e git+git://github.com/fos/Fos.git#egg=fos

i was able to install it by running python setup.py install from the directory.

output:

Obtaining fos from git+git://github.com/fos/Fos.git#egg=fos Cloning git://github.com/fos/Fos.git to /software/virtualenvs.EPD/7.1/devpype/src/fos Running setup.py egg_info for package fos

Installing collected packages: fos Running setup.py develop for fos

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/software/virtualenvs.EPD/7.1/devpype/src/fos/setup.py", line 39, in <module>
    cmdclass    = cmdclass,
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "build/bdist.linux-i686/egg/setuptools/command/develop.py", line 27, in run
  File "build/bdist.linux-i686/egg/setuptools/command/develop.py", line 88, in install_for_development
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 132, in run
    for ext in self.extensions])):
TypeError: 'NoneType' object is not iterable
Complete output from command /software/virtualenvs.EPD/7.1/devpype/bin/python -c "import setuptools; __file__='/software/virtualenvs.EPD/7.1/devpype/src/fos/setup.py'; exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps:
running develop

running egg_info

writing fos.egg-info/PKG-INFO

writing top-level names to fos.egg-info/top_level.txt

writing dependency_links to fos.egg-info/dependency_links.txt

writing fos.egg-info/PKG-INFO

writing top-level names to fos.egg-info/top_level.txt

writing dependency_links to fos.egg-info/dependency_links.txt

warning: manifest_maker: standard file '-c' not found

reading manifest file 'fos.egg-info/SOURCES.txt'

writing manifest file 'fos.egg-info/SOURCES.txt'

running build_ext

Traceback (most recent call last):

File "", line 1, in

File "/software/virtualenvs.EPD/7.1/devpype/src/fos/setup.py", line 39, in

cmdclass    = cmdclass,

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/core.py", line 152, in setup

dist.run_commands()

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 953, in run_commands

self.run_command(cmd)

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "build/bdist.linux-i686/egg/setuptools/command/develop.py", line 27, in run

File "build/bdist.linux-i686/egg/setuptools/command/develop.py", line 88, in install_for_development

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/cmd.py", line 326, in run_command

self.distribution.run_command(command)

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 132, in run

for ext in self.extensions])):

TypeError: 'NoneType' object is not iterable


Command /software/virtualenvs.EPD/7.1/devpype/bin/python -c "import setuptools; file='/software/virtualenvs.EPD/7.1/devpype/src/fos/setup.py'; exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" develop --no-deps failed with error code 1

Garyfallidis commented 12 years ago

Hello, does it work when you just do python setup.py build_ext --inplace and then perhaps add it to your PYTHONPATH?