Skip to content

Commit

Permalink
Add dependencies more explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
edudobay committed Jan 4, 2020
1 parent c38ce77 commit 7461845
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,14 @@ Project Conventions
* **Source code formatting:** use [black][]. A recipe for running it is provided in the Makefile: just `make format`.


Development Dependencies
------------------------

After setting up your virtual environment, install development dependencies:

```shell
$ pip install -r requirements-dev.in
```


[black]: https://black.readthedocs.io/en/stable/
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

format:
python -m black mingus mingus_examples unittest setup.py
python -m black mingus mingus_examples unittest

install:
python setup.py install

clean:
sudo rm -rf build/ dist/
rm -rf build/ dist/

register:
python setup.py register
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
black
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
),
],
install_requires=["six",],
extras_require={
"fft": ["numpy"],
"fluidsynth": ["numpy"],
},
license="GPLv3",
classifiers=[
"Intended Audience :: Developers",
Expand Down

0 comments on commit 7461845

Please sign in to comment.