To have an own isolated environment for project, using pyenv-virtualenv is recommended, follow this documentation for installation.
pyenv virtualenv 3.12.2 edream_sdkAnd then activate it
pyenv activate edream_sdkpip install -r requirements.txtFirst, install the build tool:
pip install buildBuild the package
python -m buildThis command generates distribution archives in the dist/ directory. You’ll get:
- A source distribution (.tar.gz)
- A wheel distribution (.whl)
The installer tool is used to install packages from distribution archives, which is a more modern alternative to using pip install . directly.
First, install the installer tool (skip, already installed on requirements):
pip install installerTo install a package from a distribution archive, use:
python -m installer dist/edream_sdk-0.1.0-py3-none-any.whlIf you need to uninstall the package locally, execute next command
pip uninstall edream_sdkPending...