Hi,
Here is
workaround to get Fabric working with Python3
1. Create a python2.x virtualenv
1
mkvirtualenv --python=/usr/bin/python2 fab-env
2. Install Fabric.
1
pip install fabric
If required install other required packages such as future and mezzanine
3. Create another python3 virtualenv
1
mkvirtualenv --python=/usr/bin/python3 django18_py3
4. Make sure to work on the python3 virtualenv
1
workon django18_py3
5. Then run Fabric using the absolute path of Fabric in a directory of
your choice
1
/root/.virtualenvs/fab-env/bin/fab -f /home/code/APPNAME/fabfile.py
FAB_COMMAND
6. Thanks,
7. sathish A
On Tuesday, 24 November 2015 17:05:45 UTC+5:30, sathish anton wrote:
>
> Hi,
> Have anyone tried "invoke" a fork of fabric for python 3 written by same
> author.
>
> Thanks.
>
> On Wednesday, 11 November 2015 01:12:03 UTC+5:30, Joshua Glenn wrote:
>>
>> I have installed mezzanine and deployed a working test website with it
>> (the hard way). But I wanted to check into the fabric deployment tools that
>> are included with mezzanine. But, I am using Python 3. Does fabric even
>> work with Py3?
>>
>
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.