Where do I put my package contents?

WillWam

I have created a Python package... with nothing in it. All it is, is the simple structure from the Python packaging tutorial.

/example_pkg
  /example_pkg
    __init__.py
  setup.py
  LICENSE
  README.md

Where do you put the files you want to create? In the root folder or somewhere else?

Solo

Your files should be under example_pkg which has the __init__ in the example. Each folder that represents a package or sub-package should have a __init__.py file.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related