ThisIsntMyId / first-python-calc-package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

First Working Package

Notes:-

  1. make sure to absolute import and specify dependencies in init.py
  2. run all the commands from the root.
  3. will require wheel to be install pip install wheel

To run:-

  1. cd to the root dir
  2. rm -r dp_calc.egg-info dist build
  3. python setup.py sdist bdist_wheel
  4. pip uninstall dp-calc
  5. pip install .

To test:

$ python

import dp_calc

dir(dp_calc)

dp_calc.add.dp_add(1,2)

dp_calc.sub.dp_sub(1,2)

dp_calc.extras.mul.dp_mul(3,2)

dp_calc.extras.div.dp_div(6,2)

About


Languages

Language:Python 100.0%