> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "fuxi-discussion" group.
> To post to this group, send email to fuxi-discussion@googlegroups.com
> To unsubscribe from this group, send email to
> fuxi-discussion+unsubscribe@googlegroups.com<fuxi-discussion%2Bunsubscribe@ googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/fuxi-discussion?hl=en > -~----------~----~----~----~------~----~------~--~---
>> --~--~---------~--~----~------------~-------~--~----~ >> You received this message because you are subscribed to the Google Groups >> "fuxi-discussion" group. >> To post to this group, send email to fuxi-discussion@googlegroups.com >> To unsubscribe from this group, send email to >> fuxi-discussion+unsubscribe@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/fuxi-discussion?hl=en >> -~----------~----~----~----~------~----~------~--~---
> You received this message because you are subscribed to the Google Groups > "fuxi-discussion" group. > To post to this group, send email to fuxi-discussion@googlegroups.com. > To unsubscribe from this group, send email to > fuxi-discussion+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/fuxi-discussion?hl=.
-- Jean-Marc Vanel Consulting, services, training, Rule-based programming, Semantic Web http://jmvanel.free.fr/ +33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16 ( we rarely listen to voice messages, please send a mail instead )
<jeanmarc.va...@gmail.com> wrote: > 2009/11/12 Uche Ogbuji <u...@ogbuji.net>: >> I've been going through all my projects and eliminating the need for >> setuptools. I'd recommend the same for FuXi.
> The problem is still pending, I saw it today, 7 months later, by > installing FuXi on my laptop.
Hmm.. Well, the only issue with moving away from setuptools is the difficulty of automatically installing the dated version of rdflib (2.4) that FuXi currently depends on. However, I see Graham Higgins is porting FuXi to use rdflib 3.0, so this may be a moot point.
Using the updated code I was able to run the installation script with
apparent success on OS X 10.6.4 as follows; I'll report unit test
results separately:
Downloading http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py... Processing setuptools-0.6c11-py2.6.egg
Copying setuptools-0.6c11-py2.6.egg to /Library/Frameworks/
Python.framework/Versions/2.6/lib/python2.6/site-packages
Adding setuptools 0.6c11 to easy-install.pth file
Installing easy_install script to /Library/Frameworks/Python.framework/
Versions/2.6/bin
Installing easy_install-2.6 script to /Library/Frameworks/
Python.framework/Versions/2.6/bin
Installed /Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/setuptools-0.6c11-py2.6.egg
Processing dependencies for setuptools==0.6c11
Finished processing dependencies for setuptools==0.6c11
Processing fuxi
Running setup.py -q bdist_egg --dist-dir /Users/onewnan/fuxi/egg-dist-
tmp-rPgQZS
Adding FuXi 1.0.dev to easy-install.pth file
Installing FuXi script to /Library/Frameworks/Python.framework/
Versions/2.6/bin
Installed /Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/FuXi-1.0.dev-py2.6.egg
Processing dependencies for FuXi==1.0.dev
Searching for rdflib<3a
Reading http://pypi.python.org/simple/rdflib/ Reading http://rdflib.net/ Best match: rdflib 2.4.2
Downloading http://rdflib.net/rdflib-2.4.2.tar.gz Processing rdflib-2.4.2.tar.gz
Running rdflib-2.4.2/setup.py -q bdist_egg --dist-dir /var/folders/yN/
yNVCI5CMGGm7dmdKQkYp-++++TI/-Tmp-/easy_install-fixjpu/rdflib-2.4.2/egg-
dist-tmp-r5Kevu
warning: no files found matching 'example.py'
In file included from /usr/include/architecture/i386/math.h:626,
from /usr/include/math.h:28,
from /Library/Frameworks/Python.framework/Versions/
2.6/include/python2.6/pyport.h:235,
from /Library/Frameworks/Python.framework/Versions/
2.6/include/python2.6/Python.h:58,
from src/bison/SPARQLParser.c:7:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building
for Intel with Mac OS X Deployment Target < 10.4 is invalid.
zip_safe flag not set; analyzing archive contents...
Adding rdflib 2.4.2 to easy-install.pth file
Installing rdfpipe script to /Library/Frameworks/Python.framework/
Versions/2.6/bin
Installed /Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/rdflib-2.4.2-py2.6-macosx-10.3-fat.egg
Finished processing dependencies for FuXi==1.0.dev
logout
I've been using FuXi from the svn repository trunk for a while, no
problems. But then I needed to distribute and deploy a package which
depended on FuXi, automatically downloading and installing
dependencies using distrubute / setuptools. So I tried using
virtualenv 1.4.5 to see if I could do a clean install of Fuxi.
Unfortunately, it failed with an ImportError of the ez_setup module
(using distribute 0.6.10):
Searching for fuxi
Reading http://pypi.python.org/simple/fuxi/ Reading http://code.google.com/p/python-dlp/wiki/FuXi Reading http://code.google.com/p/fuxi Reading http://python-dlp.googlecode.com/svn/trunk/fuxi/ Best match: FuXi 1.0-rc-II.dev
Downloading http://pypi.python.org/packages/source/F/FuXi/FuXi-1.0-rc-II.dev.tar.... Processing FuXi-1.0-rc-II.dev.tar.gz
Running FuXi-1.0-rc-II.dev/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-QHtw0t/FuXi-1.0-rc-II.dev/egg-dist-tmp-4vx6Jt
Traceback (most recent call last):
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/bin/
easy_install", line 9, in <module>
load_entry_point('distribute==0.6.10', 'console_scripts',
'easy_install')()
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 1714, in main
with_ei_usage(lambda:
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 1695, in with_ei_usage
return f()
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 1718, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.6/distutils/dist.py", line 975, in
run_commands
self.run_command(cmd)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in
run_command
cmd_obj.run()
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 236, in run
self.easy_install(spec, not self.no_deps)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 471, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 501, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 680, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 957, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 946, in run_setup
run_setup(setup_script, args)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/
sandbox.py", line 29, in run_setup
lambda: execfile(
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/
sandbox.py", line 70, in run
return func()
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/
sandbox.py", line 31, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 1, in <module>
ImportError: No module named ez_setup
==================================
Is this the same issue as described before in this topic? I see that
distribute (setuptools) tried to download and install FuXi 1.0 RC2, so
maybe the problem is that this issue is already solved in the trunk
version, but not yet in the version linked at PyPI.
I wonder how William Waites solved this problem in ORDF, as it is a
package that depends on FuXi. How could one install such a package,
automatically using setuptools / distribute, without having to
manually install FuXi from the trunk?