Skip to content

Commit

Permalink
Move developer dependencies to a requirements-dev.txt file.
Browse files Browse the repository at this point in the history
Fixes #56
  • Loading branch information
mblayman committed Apr 10, 2016
1 parent 6857b21 commit 9a3b3aa
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,19 @@ Translators can join the fun by translating at the
Additional translation details are in the[translation
documentation](http://handroll.readthedocs.org/en/latest/i18n.html).

Want to write some code?
Running these commands should set up your environment
with all the tools you need to contribute.

```bash
$ # Start from the root of a handroll clone.
$ virtualenv venv # Create your virtual environment.
$ source venv/bin/activate # Activate it.
(venv)$ pip install -r requirements-dev.txt # Install developer tools.
(venv)$ pip install -e . # Install handroll in editable mode.
(venv)$ nosetests # Run the test suite.
```

[pypishield]: https://img.shields.io/pypi/v/handroll.svg
[license]: https://img.shields.io/pypi/l/handroll.svg
[shield]: https://img.shields.io/pypi/dm/handroll.svg
Expand Down
9 changes: 9 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Babel
coverage
flake8
nose
requests
Sphinx
tox
twine
wheel
14 changes: 0 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,6 @@ def run(self):
'werkzeug',
]

# Add some developer tools.
if 'develop' in sys.argv:
install_requires.extend([
'Babel',
'coverage',
'flake8',
'nose',
'requests',
'Sphinx',
'tox',
'twine',
'wheel',
])

setup(
name='handroll',
version=__version__,
Expand Down

0 comments on commit 9a3b3aa

Please sign in to comment.