To run the project locally, clone the repository, and then create a virtual environment and install the dependencies.
First, ensure you have a version of every Python we support installed. Your versions may differ.
pyenv install 2.7.14
pyenv install 3.3.7
pyenv install ...
pyenv global 3.6.3 3.5.4 3.4.7 3.3.7 2.7.14 Next ensure you create a virtual environment.
virtualenv venv
source venv/bin/activate
pip install -r requirements.txtTo run the tests against every supported Python version, use tox.
toxAlternatively, to run tests just against a specific Python version, create coverage files, and watch for changes:
brew install fswatch
pyenv shell 2.7.14
make watchTo install a library locally, use pip to install the library in editable mode.
pip install -e .This will make the current code available for editing and using in live scripts, for example.
from amadeus import Client[TBD]
-
Ensure the bug was not already reported by searching on GitHub under Issues.
-
If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
-
Open a new GitHub pull request with the patch.
-
Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
-
Suggest your change in a new issue and start writing code.
-
Make sure your new code does not break any tests and include new tests.
-
With good code comes good documentation. Try to copy the existing documentation and adapt it to your needs.
-
Close the issue or mark it as inactive if you decide to discontinue working on the code.
- Ask any question about how to use the library by raising a new issue.