Podrška #22893
Zatvoren
- Matični zadatak postavljeno na #21924
- 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.
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)
- Status promijenjeno iz Dodijeljeno u Odbačeno
Također dostupno kao Atom
PDF