Hi, I have a big headache for pylons app egg installation. As I have read around the net, there are a lot of ways to deploy a Pylons app. I have choose to use a virtualenv + easy_install, because it seems the most easy. I have read a lot of time the official documentation, but there is something that I can't understand. I'm going to summarize the steps I followed: - virtualenv creation through go-pylons.py script - project creation of course, bla bla bla... - creation of the egg -> python setup.py bdist_egg - egg appear in the dist directory
1) Now, one of the many documents I have read for packaging application is this: http://docs.pylonsproject.org/projects/pylons_framework/dev/deployment.html and in the "Egg Files" section it says: "All Pylons applications are distributed in .egg format. An egg is simply a Python executable package that has been put together into a single file." So, I thought I must copy ONLY the egg file on the production machine...am I right? 2) I have not registered my application on PyPi, so I have skipped the python setup.py register command. Is it not mandatory, right? 3) So, I'm on the production machine, I have activated the virtual environment through source and I'm in the egg file directory (Downloads). I have executed this command: easy_install -f C:\path\with\the\egg\files\in myapplication==0.1 with the correct name and version number and I get this message: Searching for myapplication==0.1 Reading http://pypi.python.org/simple/myapplication/ Couldn't find index page for 'myapplication' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for myapplication==0.1 error: Could not find suitable distribution for Requirement.parse('myapplication==0.1') Some ideas? Thank you all in advance and good work! -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
