Akcije
Podrška #22893
ZatvorenPodrška #21924: python za talašike
python eggs
Početak:
23.03.2011
Završetak:
% završeno:
0%
Procjena vremena:
Izmjenjeno od Ernad Husremović prije skoro 14 godina
- Matični zadatak postavljeno na #21924
Izmjenjeno od Ernad Husremović prije skoro 14 godina
- Naslov promijenjeno iz python egg u python eggs
http://fedoraproject.org/wiki/Packaging:Python_Eggs
Eggs have several uses including:
1. Allowing end users to install eggs not made from rpms or install eggs into their home directories. This is an important feature for people working within a shared hosting environment.
2. Giving python packages an easy way to support plugins.
3. Giving us a way to support multiple versions of a python module for compat libraries.
The egg metatada can be used at runtime so it cannot be replaced with the rpm database which is only useful at installtime or by tools specifically for Fedora.
Izmjenjeno od Ernad Husremović prije skoro 14 godina
Izmjenjeno od Ernad Husremović prije skoro 14 godina
bringout@maverick-273-1:~/devel/openerp/github/openobject-client$ cat scripts/run.sh
#!/usr/bin/env python import sys from pkg_resources import require require("openerp_client==6.1-dev") #cd /usr/local/lib/python2.6/dist-packages/openerp_client-6.1_dev-py2.6.egg/openerp-client/ module = __import__("openerp-client") pkg_dir=module.__path__[0] fname = pkg_dir + "/openerp-client.py" sys.path.append(pkg_dir) #exec /usr/bin/python ./openerp-client.py $@ execfile(fname)
Izmjenjeno od Ernad Husremović prije više od 13 godina
- Status promijenjeno iz Dodijeljeno u Odbačeno
Akcije