Skip to content

Commit

Permalink
#50: Add contributing guidelines
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
  • Loading branch information
nicoulaj committed Apr 2, 2017
1 parent 630a714 commit 44ed507
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
31 changes: 31 additions & 0 deletions CONTRIBUTING.md
@@ -0,0 +1,31 @@
Contributing
============

Contributions are welcome, please take a look at the [issues list](https://github.com/nicoulaj/rainbow/issues).

This project uses a standard layout. Here are some example steps to setup
your development environment using [pew](https://github.com/berdario/pew):

1. Checkout project sources:

git clone https://github.com/nicoulaj/rainbow.git
cd rainbow

2. Create a virtual environment for rainbow:

pew new rainbow

3. Install rainbow build dependencies:

pip install -r requirements-build.txt -r requirements-test.txt

4. To run tests, rainbow uses [tox](https://tox.readthedocs.io):

tox

This will run all the tests, for all python versions. To run tests for
one specific version:

tox -e py27

After you run tests, results (test, coverage and benchmark HTML reports) will be available in the `build/tests` directory.
6 changes: 6 additions & 0 deletions README.rst
Expand Up @@ -109,6 +109,12 @@ You can build from sources this way:
sudo python setup.py install


Contributing
------------

Contributions are welcome, please see `CONTRIBUTING <https://github.com/nicoulaj/rainbow/blob/master/CONTRIBUTING.md>`_.


License
-------

Expand Down
1 change: 1 addition & 0 deletions requirements-test.txt
Expand Up @@ -16,6 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ----------------------------------------------------------------------

tox==2.5.0
pytest==3.0.7
coverage==4.3.4
pytest-cov==2.4.0
Expand Down

0 comments on commit 44ed507

Please sign in to comment.