Skip to content

Commit

Permalink
refactored requirements to get rid of silly python+compile file
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Malmgren committed Jun 17, 2017
1 parent 8ae8a9b commit 5c627a6
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .pyup.yml
Expand Up @@ -7,7 +7,7 @@ requirements:
updates: all
- requirements/python-dev:
updates: all
- requirements/python+compile:
- requirements/python-doc:
updates: all
assignees:
- deanmalmgren
5 changes: 1 addition & 4 deletions provision/python.sh
Expand Up @@ -12,8 +12,5 @@ fi
pip install -U pip

# Install the requirements for this package as well as this module.
pip install -r requirements/python+compile
pip install .

# Install the requirements for this package in development
pip install -r requirements/python-dev
pip install .
6 changes: 6 additions & 0 deletions requirements/python
@@ -1,3 +1,8 @@
# This file contains all python dependencies that are required by the textract
# package in order for it to properly work. As much as possible, these
# dependencies should be placed in requirements/python. Things that are
# separately listed in this file are NOT included in the readthedocs build

argcomplete==1.8.2
chardet==2.3.0
python-pptx==0.6.5
Expand All @@ -10,3 +15,4 @@ EbookLib==0.15
SpeechRecognition==3.6.3
https://github.com/mattgwwalker/msg-extractor/zipball/master
six==1.10.0
pocketsphinx==0.1.3
10 changes: 0 additions & 10 deletions requirements/python+compile

This file was deleted.

8 changes: 4 additions & 4 deletions requirements/python-dev
@@ -1,12 +1,12 @@
-r python
-r python-doc

# needed for tests/run.py script to read .travis.yml file
PyYAML==3.12
pep8==1.7.0
coveralls==1.1
requests==2.13.0
nose==1.3.7

# for documentation
sphinx==1.5.3
sphinx_rtd_theme==0.2.4
sphinx-argparse==0.1.17
# needed for managing versions
bumpversion==0.5.3
9 changes: 4 additions & 5 deletions requirements/python-doc
@@ -1,5 +1,4 @@
# install everything that is required for the documentation build on
# readthedocs

-r python
-r python-dev
# for documentation
sphinx==1.5.3
sphinx_rtd_theme==0.2.4
sphinx-argparse==0.1.17
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -37,7 +37,7 @@ def parse_requirements(requirements_filename):
return dependencies, dependency_links


requirements_filename = os.path.join("requirements", "python+compile")
requirements_filename = os.path.join("requirements", "python")
dependencies, dependency_links = parse_requirements(requirements_filename)


Expand Down

0 comments on commit 5c627a6

Please sign in to comment.