Deprecated
#Client
#Install package with pip
pip install arkecosystem-client
#Development
- Fork the package .
- Clone your forked repository.
git clone https://github.com/<githubusername>/python-client
- Next, move into the fresh cloned directory.
cd python-client
- The next step would be to create something like a virtual environment to ensure no name clashes occur.
- Create and enter the virtual environment
# With virtualenv (on Unix and OSx)mkdir my-amazing-ark-projectcd my-amazing-ark-projectvirtualenv virtualEnvNamesource venv/bin/activate# With virtualenv (on Windows)mkdir my-amazing-ark-projectcd my-amazing-ark-projectvirtualenv virtualEnvName.\venv\Scripts\activate.bat
- Once inside the virtualenv, you can proceed to install the dependencies. These are listed inside the setup.py file.
pip install \ requests \ backoff \ flake8 \ flake8-import-order \ flake8-print \ flake8-quotes \ pytest \ pytest-responses \ pytest-mock \ pytest-cov
- Dependencies are now installed, you can now run the tests to see if everything is running as it should.
pytest
Last updated 1 year ago
Edit Page