Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 785 Bytes

dev.md

File metadata and controls

47 lines (32 loc) · 785 Bytes

Development

  • 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:/chuongmep/aps-bot.git --upgrade

or clone the repository and install it using pip:

pip install . --upgrade

Requirements

Setup environment variables

APS_CLIENT_ID = "your_client_id"
APS_CLIENT_SECRET = "your_client_secret"
OPENAI_API_KEY = "your_openai_api_key"

Build Local Package

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/*

Quick Testing

pip install --editable . --user