- Install from source code
Before you can use apsbot
, you need to install it. Clone the repository and install it using pip:
pip install git+https://github.com/chuongmep/aps-bot.git --upgrade
or clone the repository and install it using pip:
pip install . --upgrade
Setup environment variables
APS_CLIENT_ID = "your_client_id"
APS_CLIENT_SECRET = "your_client_secret"
OPENAI_API_KEY = "your_openai_api_key"
Build package with setuptools
python setup.py sdist bdist_wheel
Update new version package
python setup.py sdist bdist_wheel
python -m twine check dist/*
python -m twine upload dist/*
pip install --editable . --user