Hi. I have created a package to build skeleton packages and apps using
templates. I am doing this with a buildout that contains my skeleton
package and also installs the paster script in the buildouts ./bin
folder. This enables me to export a buildout from svn, run paster script
to create new packages or an app, modify-test-run the package or app and
then check the new code into svn. setuptools is installed as part of my
buildout.
All of this works fine except after the copying is done during the
execution of the paster for creating the app or package, I get a
traceback. It looks as though what it is doing is attempting to do is
install the package as an egg and is checking for the info folder.
I want the script to just do copying and templating since buildout takes
care of the rest (including production of eggs). Any advice for
eliminating the traceback since I am otherwise happy with what the
script produces. Many thanks.
Regards,
David
Here is the traceback:
Running
/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python
setup.py egg_info
Traceback (most recent call last):
File "../bin/paster", line 16, in ?
paste.script.command.run()
File
"/Users/davidpratt/Desktop/pkgskeleton/eggs/PasteScript-1.3.4-py2.4.egg/paste/script/command.py",
line 76, in run
invoke(command, command_name, options, args[1:])
File
"/Users/davidpratt/Desktop/pkgskeleton/eggs/PasteScript-1.3.4-py2.4.egg/paste/script/command.py",
line 115, in invoke
exit_code = runner.run(args)
File
"/Users/davidpratt/Desktop/pkgskeleton/eggs/PasteScript-1.3.4-py2.4.egg/paste/script/command.py",
line 210, in run
result = self.command()
File
"/Users/davidpratt/Desktop/pkgskeleton/eggs/PasteScript-1.3.4-py2.4.egg/paste/script/create_distro.py",
line 143, in command
egg_info_dir = pluginlib.egg_info_dir(output_dir, dist_name)
File
"/Users/davidpratt/Desktop/pkgskeleton/eggs/PasteScript-1.3.4-py2.4.egg/paste/script/pluginlib.py",
line 130, in egg_info_dir
raise IOError("No egg-info directory found (looked in %s)"
IOError: No egg-info directory found (looked in
./am.testpkg/./am.testpkg.egg-info,
./am.testpkg/bootstrap.py/am.testpkg.egg-info,
./am.testpkg/buildout.cfg/am.testpkg.egg-info,
./am.testpkg/README.txt/am.testpkg.egg-info,
./am.testpkg/setup.py/am.testpkg.egg-info,
./am.testpkg/src/am.testpkg.egg-info)
_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users