• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dave-tucker / hp-sdn-client / 35
75%

Build:
DEFAULT BRANCH: master
Ran 23 Feb 2015 09:02PM UTC
Jobs 3
Files 27
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
35

Pull #11

travis-ci

dave-tucker
Fix requirements parsing in setup.py

The method recommended to avoid duplication between `requirements.txt`
and `setup.py` recommended in StackOverflow [1] no longer works due to a
signature change in the parse_requirements method in `pip`

Instead, we use [2]. `requirements.txt` defers to `setup.py`
We use "abstract requirements" in `setup.py` as we're a library.

`test-requirements.txt` remains intact though it's much cleaner to use:

```bash
pip install -r test-requirements.txt
tox -e py27
```
vs. `python setup.py test` as there is no control over the options
passed to tox

As such, `tests_require` is probably candidate for deletion.

[1]
http://stackoverflow.com/questions/14399534/how-can-i-reference-requirements-txt-for-the-install-requires-kwarg-in-setuptool
[2] https://caremad.io/2013/07/setup-vs-requirement/
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Pull Request #11: Fix requirements parsing in setup.py

1531 of 2035 relevant lines covered (75.23%)

1.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35.1 (TOXENV=py27) 23 Feb 2015 09:02PM UTC 0
75.23
Travis Job 35.1
2 35.2 (TOXENV=py33) 23 Feb 2015 09:04PM UTC 0
74.74
Travis Job 35.2
3 35.3 (TOXENV=docs) 23 Feb 2015 09:04PM UTC 0
Travis Job 35.3
Source Files on build 35
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #35
  • Pull Request #11
  • PR Base - master (#33)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc