Thanks - there were a lot more packages which I needed to package
(AddOns, PyProtocols, sprox etc). Basically, I just kept entering
paster quickstart and kept getting import errors.
Thus, I kept building packages until there were no import errors. Now
paster quickstart works, but with this error:
cfarr...@paddy:/tmp> paster quickstart
'import site' failed; use -v for traceback
/usr/lib/python2.6/site-packages/dispatch/predicates.py:379:
DeprecationWarning: object.__new__() takes no parameters
return ExprBase.__new__
(klass,function,*argexprs)
/usr/lib/python2.6/site-packages/tw/core/view.py:202:
DeprecationWarning: object.__new__() takes no parameters
obj = object.__new__(cls, *args,
**kw)
Enter project name:
crash
Enter package name
[crash]:
Do you need authentication and authorization in this project?
[yes]
Selected and implied
templates:
tg.devtools#turbogears2 TurboGears 2.0 Standard Quickstart
Template
Variables:
auth: sqlalchemy
egg: crash
package: crash
project: crash
sqlalchemy: True
sqlobject: False
tgversion: 2.0b2
Creating template turbogears2
Creating directory ./crash
Recursing into +package+
Creating ./crash/crash/
Copying __init__.py_tmpl to ./crash/crash/__init__.py
Recursing into config
Creating ./crash/crash/config/
Copying __init__.py_tmpl to ./crash/crash/config/__init__.py
Copying app_cfg.py_tmpl to ./crash/crash/config/app_cfg.py
Copying deployment.ini_tmpl to ./crash/crash/config/
deployment.ini
Copying environment.py_tmpl to ./crash/crash/config/
environment.py
Copying middleware.py_tmpl to ./crash/crash/config/
middleware.py
Recursing into
controllers
Creating ./crash/crash/
controllers/
Copying __init__.py_tmpl to ./crash/crash/controllers/
__init__.py
Copying controller.template_tmpl to ./crash/crash/controllers/
controller.template
Copying error.py_tmpl to ./crash/crash/controllers/
error.py
Copying root.py_tmpl to ./crash/crash/controllers/
root.py
Copying secure.py_tmpl to ./crash/crash/controllers/
secure.py
Copying template.py_tmpl to ./crash/crash/controllers/
template.py
Recursing into
i18n
Creating ./crash/crash/
i18n/
Recursing into
ru
Creating ./crash/crash/i18n/
ru/
Recursing into
LC_MESSAGES
Creating ./crash/crash/i18n/ru/
LC_MESSAGES/
Copying +package+.po_tmpl to ./crash/crash/i18n/ru/
LC_MESSAGES/crash.po
Recursing into
lib
Creating ./crash/crash/
lib/
Copying __init__.py_tmpl to ./crash/crash/lib/
__init__.py
Copying app_globals.py_tmpl to ./crash/crash/lib/
app_globals.py
Copying base.py_tmpl to ./crash/crash/lib/
base.py
Copying helpers.py_tmpl to ./crash/crash/lib/
helpers.py
Recursing into
model
Creating ./crash/crash/
model/
Copying __init__.py_tmpl to ./crash/crash/model/
__init__.py
Copying auth.py_tmpl to ./crash/crash/model/
auth.py
Copying model.template_tmpl to ./crash/crash/model/
model.template
Recursing into
public
Creating ./crash/crash/
public/
Recursing into
css
Creating ./crash/crash/public/
css/
Copying style.css to ./crash/crash/public/css/
style.css
Copying favicon.ico to ./crash/crash/public/
favicon.ico
Recursing into
images
Creating ./crash/crash/public/
images/
Copying contentbg.png to ./crash/crash/public/images/
contentbg.png
Copying error.png to ./crash/crash/public/images/
error.png
Copying header_inner2.png to ./crash/crash/public/images/
header_inner2.png
Copying headerbg.png to ./crash/crash/public/images/
headerbg.png
Copying info.png to ./crash/crash/public/images/
info.png
Copying inputbg.png to ./crash/crash/public/images/
inputbg.png
Copying loginbg.png to ./crash/crash/public/images/
loginbg.png
Copying loginbottombg.png to ./crash/crash/public/images/
loginbottombg.png
Copying loginheader-left.png to ./crash/crash/public/images/
loginheader-left.png
Copying loginheader-right.png to ./crash/crash/public/images/
loginheader-right.png
Copying menu-item-actibg-first.png to ./crash/crash/public/
images/menu-item-actibg-first.png
Copying menu-item-actibg.png to ./crash/crash/public/images/
menu-item-actibg.png
Copying menu-item-border.png to ./crash/crash/public/images/
menu-item-border.png
Copying menubg.png to ./crash/crash/public/images/
menubg.png
Copying ok.png to ./crash/crash/public/images/
ok.png
Copying pagebg.png to ./crash/crash/public/images/
pagebg.png
Copying star.png to ./crash/crash/public/images/
star.png
Copying strype2.png to ./crash/crash/public/images/
strype2.png
Copying under_the_hood_blue.png to ./crash/crash/public/images/
under_the_hood_blue.png
Recursing into
templates
Creating ./crash/crash/
templates/
Copying __init__.py to ./crash/crash/templates/
__init__.py
Copying about.html to ./crash/crash/templates/
about.html
Copying authentication.html to ./crash/crash/templates/
authentication.html
Copying debug.html to ./crash/crash/templates/
debug.html
Copying footer.html to ./crash/crash/templates/
footer.html
Copying header.html to ./crash/crash/templates/
header.html
Copying index.html to ./crash/crash/templates/
index.html
Copying login.html to ./crash/crash/templates/
login.html
Copying master.html to ./crash/crash/templates/
master.html
Copying sidebars.html to ./crash/crash/templates/
sidebars.html
Recursing into
tests
Creating ./crash/crash/
tests/
Copying __init__.py_tmpl to ./crash/crash/tests/
__init__.py
Recursing into
functional
Creating ./crash/crash/tests/functional/
Copying __init__.py_tmpl to ./crash/crash/tests/functional/
__init__.py
Copying test_root.py_tmpl to ./crash/crash/tests/functional/
test_root.py
Copying test_models.py_tmpl to ./crash/crash/tests/
test_models.py
Copying websetup.py_tmpl to ./crash/crash/websetup.py
Copying README.txt_tmpl to ./crash/README.txt
Copying development.ini_tmpl to ./crash/development.ini
Recursing into ez_setup
Creating ./crash/ez_setup/
Copying README.txt to ./crash/ez_setup/README.txt
Copying __init__.py to ./crash/ez_setup/__init__.py
Copying production.ini_tmpl to ./crash/production.ini
Copying setup.cfg_tmpl to ./crash/setup.cfg
Copying setup.py_tmpl to ./crash/setup.py
Copying test.ini_tmpl to ./crash/test.ini
Running /usr/bin/python setup.py egg_info
Traceback (most recent call last):
File "/usr/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')
()
File "/usr/lib/python2.6/site-packages/paste/script/command.py",
line 84, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/python2.6/site-packages/paste/script/command.py",
line 123, in invoke
exit_code = runner.run(args)
File "/usr/lib/python2.6/site-packages/paste/script/command.py",
line 218, in run
result = self.command()
File "/usr/lib/python2.6/site-packages/devtools/commands/
quickstart.py", line 204, in command
command.run(cmd_args)
File "/usr/lib/python2.6/site-packages/paste/script/command.py",
line 218, in run
result = self.command()
File "/usr/lib/python2.6/site-packages/paste/script/
create_distro.py", line 170, in command
egg_info_dir = pluginlib.egg_info_dir(output_dir, dist_name)
File "/usr/lib/python2.6/site-packages/paste/script/pluginlib.py",
line 134, in egg_info_dir
% ', '.join(all))
IOError: No egg-info directory found (looked in ./crash/./crash.egg-
info, ./crash/README.txt/crash.egg-info, ./crash/production.ini/
crash.egg-info, ./crash/setup.cfg/crash.egg-info, ./crash/setup.py/
crash.egg-info, ./crash/test.ini/crash.egg-info, ./crash/crash/
crash.egg-info, ./crash/development.ini/crash.egg-info, ./crash/
ez_setup/crash.egg-info)
On Jan 9, 4:56 pm, "Lukasz Szybalski" <[email protected]> wrote:
> On Fri, Jan 9, 2009 at 8:52 AM, frankentux <[email protected]>
> wrote:
>
> > Hi,
>
> > I want to package tg2 for openSUSE. I've already started a project at
> >https://build.opensuse.org/project/show?project=home%3Ababelworx%3Atg2
> > and all the packages listed
> > athttp://www.turbogears.org/2.0/downloads/current/index
> > are already packaged and built.
>
> > Thus, on an openSUSEsystem, you can already install tg2 with:
> > zypper in python-turbogears2
>
> > However, paster -h shows only:
> > Usage: paster [paster_options] COMMAND [command_options]
>
> > Options:
> > --version show program's version number and exit
> > --plugin=PLUGINS Add a plugin to the list of commands (plugins are
> > Egg
> > specs; will also require() the Egg)
> > -h, --help Show this help message
>
> > Commands:
> > create Create the file layout for a Python distribution
> > help Display help
> > make-config Install a package and create a fresh config file/
> > directory
> > points Show information about entry points
> > post Run a request for the described application
> > request Run a request for the described application
> > serve Serve the described application
> > setup-app Setup an application, given a config file
>
> > TurboGears2:
> > tginfo Show TurboGears 2 related projects and their versions
>
> > The quickstart command seems to be missing (calling paster quickstart
> > fails with "Command 'quickstart' not known (you may need to run
> > setup.py egg_info)".
>
> > Is there some other postinstall script which I will have to add to the
> > spec file in order to get this working?
>
> The quickstart command is coming from tg.devtools if I'm not mistaken.
> So as long as you install tg.devtools you should be able to see the
> command.
>
> Lucas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---