.
├── LICENSE
├── README.md
├── main
│ └── main.py
├── pyproject.toml
├── src
│ └── mycalculator
│ ├── __init__.py
│ ├── funcs.py
│ └── greet.py
└── tests
└── test_funcs.py
Note that:
src/mycalulator
is the packagemain
contains all the main files, and unless themycalculator
package is installed it can not import its code._
- Follow a similar directory structure.
- Create a
pyproject.toml
file in the main directory, with all the necessary lines. - Run the below commands from the main directory.
Run : pip install .
Run: pip -e install .