Skip to content

Commit

Permalink
Reduced the redundancy on requirements.txt, and highlighted the devel…
Browse files Browse the repository at this point in the history
…opment installation mode with pip. (#334)
  • Loading branch information
pelson authored and jacobtomlinson committed Nov 5, 2017
1 parent 72092a8 commit 0a3ab03
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include README.md
include LICENSE
include requirements.txt
graft opsdroid
include opsdroid/configuration/example_configuration.yaml
recursive-exclude * *.py[co]
4 changes: 2 additions & 2 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ All contributors to the project, including [jacobtomlinson](https://github.com/j
git clone https://github.com/opsdroid/opsdroid.git
cd opsdroid

# install project dependencies
pip install -r requirements.txt
# install the project in "editable" mode
pip install -e .

# run opsdroid
python -m opsdroid
Expand Down
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
PACKAGES = find_packages(exclude=['tests', 'tests.*', 'modules',
'modules.*', 'docs', 'docs.*'])

REQUIRES = [
'arrow==0.10.0',
'aiohttp==2.1.0',
'pycron==0.40',
'pyyaml==3.12'
]

# For now we simply define the install_requires based on the contents
# of requirements.txt. In the future, install_requires may become much
# looser than the (automatically) resolved requirements.txt.
with open(os.path.join(HERE, 'requirements.txt'), 'r') as fh:
REQUIRES = [line.strip() for line in fh]


setup(
name=PACKAGE_NAME,
Expand Down

0 comments on commit 0a3ab03

Please sign in to comment.