How to install python egg
I am trying to configure ftw.mail to install postfix. Since I'm new to Linux and Python, I really don't know if this is right, going in the right direction, or garbage.
From the official documentation, I found this:
- Add ftw.mail to your build config:
[instance]
eggs + =
ftw.mail- Set up a general profile for importing settings.
(source: https://github.com/4teamwork/ftw.mail/blob/master/README.rst )
My first question is "/ etc / postfix /" so called "build config"?
Second, I was struggling with how to build this "egg" which I tried:
$ wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python for ez_setup
then:
$ sudo apt-get install python-setuptools
and finish:
$ sudo easy_install ftw.mail
On the console, I was told the egg was there:
/usr/local/lib/python2.7/dist-packages/ftw.mail-2.3.1-py2.7.egg
I found it and I read that I needed to start it with:
$ PYTHONPATH=/usr/local/lib/python2.7/dist-packages/cssutils-1.0-py2.7.egg
which basically did nothing. Now the question arises: how to set the egg?
Summarizing my questions:
- Is "etc / postfix /" the build config directory I am looking for?
- How do I install the Python egg?
- And what should I do with: [instance] eggs + = ftw.mail?
- What is a generic settings import profile?
+3
source to share