luigi scarso wrote: >> luigi scarso wrote: >> >> Ma, forse perche' tutti usano virtualenv e tu no. Guarda che non morde :-o >> >> Ti assicuro che virtualenv ha fatto molta differenza, per me. >> > OK in che senso ? >
Nel senso che, ad esempio, sto sviluppando su Ubuntu 9.10 con Python 2.5, per un server con la 7.04, uso le stesse librerie, stessa versione, e non sono poche. Questo e' il site-packages di quel virtualenv, e comprende solo le librerie usate da quel progetto: AddOns-0.6-py2.5.egg BeautifulSoup-3.1.0.1-py2.5.egg bpython-0.7.1-py2.5.egg BytecodeAssembler-0.5.1-py2.5.egg Cheetah-2.0.1-py2.5-linux-i686.egg CherryPy-2.3.0-py2.5.egg configobj-4.5.3-py2.5.egg DateUtils-0.2-py2.5.egg DecoratorTools-1.7-py2.5.egg easy-install.pth elementtree-1.2.6_20050316-py2.5.egg Extremes-1.1-py2.5.egg FormEncode-1.2.1-py2.5.egg Genshi-0.5.1-py2.5-linux-i686.egg ipdb-0.1dev_r1716-py2.5.egg ipython-0.9.1-py2.5.egg kid-0.9.6-py2.5.egg ldap _ldap.so lxml-2.2-py2.5-linux-i686.egg medusa-0.5.4-py2.5.egg meld3-0.6.5-py2.5.egg MySQL_python-1.2.3c1-py2.5-linux-i686.egg nose-0.11.1-py2.5.egg Paste-1.7.2-py2.5.egg PasteDeploy-1.3.2-py2.5.egg PasteScript-1.7.3-py2.5.egg PEAK_Rules-0.5a1.dev_r2582-py2.5.egg pip-0.3.1-py2.5.egg prioritized_methods-0.2.1-py2.5.egg psycopg2-2.0.10-py2.5-linux-i686.egg Pygments-1.0-py2.5.egg pyparsing-1.5.2-py2.5.egg python_dateutil-1.4.1-py2.5.egg pytz-2008i-py2.5.egg see-0.5.4-py2.5.egg setuptools-0.6c9-py2.5.egg setuptools.pth simplejson-2.0.4-py2.5-linux-i686.egg SQLAlchemy-0.5.4-py2.5.egg supervisor-3.0a6-py2.5.egg SymbolType-1.0-py2.5.egg tgMochiKit-1.4.2beta1-py2.5.egg TurboCheetah-1.0-py2.5.egg TurboGears-1.1b3-py2.5.egg TurboJson-1.2.1-py2.5.egg TurboKid-1.0.4-py2.5.egg TurboMail-2.1-py2.5.egg virtualenv-1.3.2-py2.5.egg virtualenv-1.3.3-py2.5.egg WebOb-0.9.6dev_r7717-py2.5.egg WebTest-1.1-py2.5.egg winpdb-1.3.6-py2.5.egg xlrd-0.7.0-py2.5.egg xlwt-0.7.0-py2.5.egg Quando aggiorno il mio laptop, ogni sei mesi, e devo aggiungere librerie agli ambienti di sviluppo E produzione, il fatto che Ubuntu fornisca Python 2.4 - 2.5 - 2.6 e i rispettivi pacchetti -dev permette di installare o compilare gli egg necessari senza tanti problemi. O a volte mancano un paio di symlink per le librerie C. Poi ho un altro virtualenv con la 2.6 e posso lanciare i test con quello e verificare che non avro' problemi se passero' l'ambiente di produzione alla prossima versione LTS. -- This e-mail (and any attachment(s)) is strictly confidential and for use only by intended recipient(s). Any use, distribution, reproduction or disclosure by any other person is strictly prohibited. The content of this e-mail does not constitute a commitment by the Company except where provided for in a written agreement between this e-mail addressee and the Company. If you are not an intended recipient(s), please notify the sender promptly and destroy this message and its attachments without reading or saving it in any manner. Any non authorized use of the content of this message constitutes a violation of the obligation to abstain from learning of the correspondence among other subjects, except for more serious offence, and exposes the person responsible to the relevant consequences. _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python