...
- Git
- Anaconda (v4.3.27)
- Python 32.67
- optional: PyCharm
Info |
---|
Make sure you have the right versions of Anaconda and Python3
|
Step-by-step guide
1. Create your conda environment:
conda env create -n sdap-ningesterpy python2python=2.7
source activate sdap-ningesterpy
...
4. Clone the incubator-sdap-ningesterpy repository.
git clone https://github.com/<username>/incubator-sdap-ningesterpy
5. Set
...
Up Remotes.
git remote add upstream https://github.com/apache/incubator-sdap-ningesterpy.git
...
git rebase upstream/master
6. Build the nexusproto
...
Image.
cd incubator-sdap-nexusproto
./gradlew pythonInstall
7. Install
...
Dependencies.
cd incubator-sdap-ningesterpy
python setup.py install
Info |
---|
Make sure you have the channel conda-forge and the right versions of Anaconda and Python3
|
8. Create
...
Branch & Make
...
Changes.
Create a branch for the issue you are addressing:
...
git commit -a -m "SDAP-XXX descriptive title of SDAP-XXX"
9. Make a GitHub Pull Request.
IMPORTANT: Make sure you have rebased your SDAP-XXX
branch to include the latest code from upstream/master
before you do this.
...
- Script: <filepath>/incubator-sdap-ningesterpy/sdap/ningesterpy.py
Environment variables: PYTHONUNBUFFERED=1
- Python interpreter: Python 3.6 ~/anaconda3/envs/incubator-sdap-ningesterpy/bin/python (from your conda environment)
- Working directory: <filepath>/incubator-sdap-ningesterpy/sdap
- Check:
- Add content roots to PYTHONPATH
- Add source roots to PYTHONPATH
- Emulate terminal in output console
- Activate tool window (optional)
...