Merge pull request #600 from Mkaysi/requirements

Travis: install pip packages with requirements.txt
This commit is contained in:
Valentin Lorentz 2014-04-30 19:35:20 +02:00
commit 4cc780d73a
3 changed files with 15 additions and 8 deletions

View File

@ -8,7 +8,7 @@ python:
- "pypy" - "pypy"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: install:
- pip install pytz feedparser charade sqlalchemy python-gnupg python-dateutil --use-mirrors - pip install -r requirements.txt
# command to run tests, e.g. python setup.py test # command to run tests, e.g. python setup.py test
script: script:
- echo $TRAVIS_PYTHON_VERSION - echo $TRAVIS_PYTHON_VERSION

View File

@ -12,21 +12,22 @@ extra features you may want. (Order by decreasing estimated usefulness)
[charade] -- enables better encoding handling [charade] -- enables better encoding handling
[PySQLite] -- Version 3.x (most Python distributions include it by default)
[pytz] and [python-dateutil] -- enable additional features of the `Time` plugin [pytz] and [python-dateutil] -- enable additional features of the `Time` plugin
[python-gnupg] -- enables user authentication with GPG [python-gnupg] -- enables user authentication with GPG
[Twisted] -- Version 1.2.0 or greater (unless you actually want to use Twisted,
you don't actually need it)
[charade]:https://pypi.python.org/pypi/charade [charade]:https://pypi.python.org/pypi/charade
[PySQLite]:https://pypi.python.org/pypi/pysqlite
[pytz]:https://pypi.python.org/pypi/pytz [pytz]:https://pypi.python.org/pypi/pytz
[python-dateutil]:https://pypi.python.org/pypi/python-dateutil [python-dateutil]:https://pypi.python.org/pypi/python-dateutil
[python-gnupg]:https://pypi.python.org/pypi/python-gnupg [python-gnupg]:https://pypi.python.org/pypi/python-gnupg
[Twisted]:http://twistedmatrix.com/trac/
To install them, run
```pip install -r requirements.txt```
or if you don't have or want to use root,
````pip --install-option=--prefix=$HOME/.local install -r requirements.txt```
For more information and help on how to use Supybot, checkout For more information and help on how to use Supybot, checkout
the documents under [docs/], especially [GETTING_STARTED] and the documents under [docs/], especially [GETTING_STARTED] and

6
requirements.txt Normal file
View File

@ -0,0 +1,6 @@
charade
pytz
python-dateutil
python-gnupg
feedparser
sqlalchemy