Skip to content

Commit

Permalink
Add requirements files to MANIFEST.in
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 committed Jan 29, 2019
1 parent 20e88a9 commit c5a5157
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ include CONTRIBUTING.rst
include HISTORY.rst
include LICENSE
include README.md
include requirements.txt
include requirements-dev.txt

recursive-include tests *
recursive-exclude * __pycache__
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
with open("README.md", encoding="utf8") as readme_file:
readme = readme_file.read()


with open("requirements.txt") as f:
requirements = f.read().splitlines()

Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ envlist = py34, py35, py36, flake8

[travis]
python =
3.6: py36
3.6: py36
3.5: py35
3.4: py34

[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 pyswarms
deps=-rrequirements-dev.txt
commands=python -m flake8 pyswarms

[testenv]
setenv =
PYTHONPATH = {toxinidir}

deps=-rrequirements-dev.txt
commands = python -m pytest -v

; If you want to make tox run the tests with the same versions, create a
Expand Down

0 comments on commit c5a5157

Please sign in to comment.