Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (37 sloc) 895 Bytes

Build

These are instructions for how to develop, build and deploy Blue Dot.

Develop

Install / upgrade tools:

sudo python3 -m pip install --upgrade pip setuptools wheel twine

Clone repo and install for dev:

git clone https://github.com/martinohanlon/BlueDot
cd BlueDot
git checkout dev
sudo python3 setup.py develop

Test

Install pytest:

sudo pip3 install -U pytest

Run tests:

cd BlueDot/tests
pytest -v

Deploy

Create :file:`.pypirc` credentials file:

nano ~/.pypirc

[distutils]
index-servers =
    pypi

[pypi]
username:
password:

Build for deployment:

python3 setup.py sdist
python3 setup.py bdist_wheel
python setup.py bdist_wheel

Deploy to PyPI:

twine upload dist/* --skip-existing