Skip to content
kwinkunks edited this page May 8, 2012 · 1 revision

Github workflow

Get the repositories:

Build the documentation:

  • cd modelr/doc
  • make html

Update the documentation page:

  • cd -
  • cd doc_modelr
  • git checkout gh-pages
  • rsync -zvr ../modelr/_build/html/ . -- copy the web content
  • git add -A -- Add the files to git
  • git ci -m "updated doc" -- Make a commit
  • git push origin gh-pages:gh-pages -- Push the commit to github.

Updating PyPi release

This will allow people to run easy install modelr.

As an initial step crate the file .pypirc with the following information:

[distutils]
index-servers =
    pypi

[pypi]
username:agile.geoscience
password:agile.geo123

If you are working with git:

  • choose a new-version-name
  • edit version.txt in the main directory to contain new-version-name.
  • git tag new-version-name -- create a new tag
  • git push --tags -- push the tags to github
  • python setup.py sdist upload -- push the release to pypi