- Run unittests for python 2.7
- Run unittests for python 3.5
- Update CHANGELOG.txt
- Update version in setup.py
- Push all changes to GitHub
- Test installation on a different machine in a fresh virtual environment
cd /tmp
git clone https://github.com/Baguage/pyqualtrics
mkvirtualenv qualtrics
cd pyqualtrics
pip install -r requirements.txt
python setup.py test
python setup.py install
deactivate
rmvirtualenv qualtrics
cd ..
rm -rf pyqualtrics
scl enable rh-python35 bash
cd /tmp
git clone https://github.com/Baguage/pyqualtrics pyqualtrics3
mkvirtualenv qualtrics3
cd pyqualtrics3
pip install -r requirements.txt
python setup.py test
python setup.py install
deactivate
rmvirtualenv qualtrics3
cd ..
rm -rf pyqualtrics3
- Make a release/tag
https://github.com/Baguage/pyqualtrics/releases -> Draft a new release
Use v0.6.2 format for tag name
- Run
setup.py sdist bdist_egg bdist_wininst upload
command