Skip to content

Commit

Permalink
init.py add
Browse files Browse the repository at this point in the history
  • Loading branch information
prachi1210 committed Oct 30, 2016
1 parent 6761424 commit 9254bce
Showing 1 changed file with 0 additions and 0 deletions.
Empty file added pyarch/sequential/__init__.py
Empty file.

2 comments on commit 9254bce

@mansimarkaur
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why add an empty file?

@prachi1210
Copy link
Member Author

@prachi1210 prachi1210 commented on 9254bce Nov 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mansimarkaur, the init.py file is simply to allow the folder to be treated as a python module for importing. It can be empty as its contents aren't important, its presence is.

Also, without the init.py file, the folder sequential wasn't being treated as a part of the package and hence, when you ran the command "pip install pyarch", it wasnt creating a copy of that folder in the site-packages of your python libraries.

Please sign in to comment.