Skip to content

Commit

Permalink
Move the requirements into a requirements directory
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Cline <[email protected]>
  • Loading branch information
jeremycline committed Apr 11, 2017
1 parent 215de62 commit 33a2cf3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include LICENSE README.rst CHANGELOG.rst requirements.txt
include LICENSE README.rst CHANGELOG.rst
include runtests.sh createdb.py nosetests migrate_wiki.py
recursive-include fedmsg.d *
recursive-include files *
recursive-include requirements *
recursive-include alembic *

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ runtime.

Next, install your dependencies::

(anitya-env)$ pip install -r requirements.txt
(anitya-env)$ pip install -r requirements/requirements.txt


Running the test suite
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def get_project_version():
raise ValueError(err_msg % (version_pattern, version_file))
return match.groups()[0].decode("utf-8")

def get_requirements(requirements_file='requirements.txt'):
def get_requirements(requirements_file='requirements/requirements.txt'):
"""Get the contents of a file listing the requirements.
:arg requirements_file: path to a requirements file
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ envlist = py27,py35,py36,lint,docs
[testenv]
passenv = TRAVIS TRAVIS_*
deps =
-rrequirements.txt
-rtest_requirements.txt
-rrequirements/requirements.txt
-rrequirements/test_requirements.txt
# tox doesn't appear to understand environment markers properly yet,
# so we use conditional commands to work around that
# Since recreating the environments is pretty fast, we also just force that
Expand All @@ -27,7 +27,7 @@ changedir = docs
deps =
sphinx
sphinxcontrib-httpdomain
-rrequirements.txt
-rrequirements/requirements.txt
whitelist_externals =
mkdir
rm
Expand Down

0 comments on commit 33a2cf3

Please sign in to comment.