Deprecated
#Client
#Install package with pip
1pip install arkecosystem-client
#Development
- Fork the package .
- Clone your forked repository.
1git clone https://github.com/<githubusername>/python-client
- Next, move into the fresh cloned directory.
1cd 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
1# With virtualenv (on Unix and OSx) 2mkdir my-amazing-ark-project 3cd my-amazing-ark-project 4virtualenv virtualEnvName 5source venv/bin/activate 6 7# With virtualenv (on Windows) 8mkdir my-amazing-ark-project 9cd my-amazing-ark-project10virtualenv virtualEnvName11.\venv\Scripts\activate.bat
- Once inside the virtualenv, you can proceed to install the dependencies. These are listed inside the setup.py file.
1pip install \ 2 requests \ 3 backoff \ 4 flake8 \ 5 flake8-import-order \ 6 flake8-print \ 7 flake8-quotes \ 8 pytest \ 9 pytest-responses \10 pytest-mock \11 pytest-cov
- Dependencies are now installed, you can now run the tests to see if everything is running as it should.
1pytest
Last updated 3 years ago
Edit Page