Am 14.05.2010 um 04:18 schrieb Jd:

Hi
  I am trying to have a small install utility that
 1. installs tg2 in virtual env.
 2. untars application tarball
 3 runs python setup.py develop
 4 paster setup-app development.ini

 Thing seems to be working fine... but we want to ship .pyc files
instead of .py source files. I have an environment with only  **pyc**
files and  setup.py,  When I try to do the above four steps.., I get
the following error. on step 4.

"No modules are listed in top_level.txt", Try running python setup.py
egg_info

 I did run egg_info.. , but the top_level.txt still is empty.

Other observations :
 a. It does work if I have the source tar ball.
 b. If I simply put the my application name in top_level.txt
manually, the next step works.

Any idea, on what sources/files in particular are required ? OR how
things work.. so I can try to debug this.

I don't know this for sure, but my approach would be to instead create eggs, which you then strip of the .py-files. Then, you ship the egg + production.ini, and
install the egg with easy_install into the venv.

Diez

--
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.

Reply via email to