Re: [Tutor] sibling import

2017-10-13 Thread Alex Kleider
On 2017-10-12 15:58, Mats Wichmann wrote: On 10/12/2017 05:15 AM, Atar new wrote: Hi Team, Here is my problem. I want to use sibling import but it is not working . I know taht if we add the directory in sys.path ,it will work. But I have to package the whole application and will create a

Re: [Tutor] sibling import

2017-10-12 Thread Mats Wichmann
On 10/12/2017 05:15 AM, Atar new wrote: > Hi Team, > > Here is my problem. I want to use sibling import but it is not working . I > know taht if we add the directory in sys.path ,it will work. > > But I have to package the whole application and will create a setup.py file > out of it . > What is

Re: [Tutor] sibling import

2017-10-12 Thread Alan Gauld via Tutor
On 12/10/17 12:15, Atar new wrote: > Here is my problem. I want to use sibling import but it is not working . I > know taht if we add the directory in sys.path ,it will work. > Why not put the package in the same folder as your top level script? I think that should work. > But I have to

[Tutor] sibling import

2017-10-12 Thread Atar new
Hi Team, Here is my problem. I want to use sibling import but it is not working . I know taht if we add the directory in sys.path ,it will work. But I have to package the whole application and will create a setup.py file out of it . What is the standard way to do it? 1. mkdir A 2. mkdir