Fabric namespacing wants a fabfile

fabric, namespaces, python

Solution

The folder still needs to be named fabfile, as per the docs, unless you specify:

$ fab -f myfolder -l

Problem

I'm working through the basic tutorial on Fabric Namespaces. I was hoping to do something similar to Structuring a fabric project with namespaces My `__init__.py` file looks: ``` from fabric.api import task @task def abc(): pass ``` When I run `fab --list` I get this error: ``` me@galvatron:/tmp/fabric_test$ fab --list Fatal error: Couldn't find any fabfiles! Remember that -f can be used to specify fabfile path, and use -h for help. Aborting. ``` Can anyone tell me what I'm missing or doing wrong?

Original source