By adding a simple setup.py to the root of the repo, we can now easily install the repo into one's virtual env with pip install -e . that allows for simple use of the library in other repos as well by importing from this repo as a package, e.g.:
from v3.state import v3Pool
address = "0x448a70a160d6be76ec6cdf3a7ed9988d3eeebcd2"
eth = v3Pool(
address,
"ethereum",
update=True,
update_from="allium",
)
By adding a simple
setup.py
to the root of the repo, we can now easily install the repo into one's virtual env withpip install -e .
that allows for simple use of the library in other repos as well by importing from this repo as a package, e.g.: