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

dave-tucker / hp-sdn-client / 34
75%
master: 75%

Build:
Build:
LAST BUILD BRANCH: setup.py
DEFAULT BRANCH: master
Ran 23 Feb 2015 09:01PM UTC
Jobs 3
Files 27
Run time 1min
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
34

push

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>

1531 of 2035 relevant lines covered (75.23%)

1.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34.1 (TOXENV=py27) 23 Feb 2015 09:01PM UTC 0
75.23
Travis Job 34.1
2 34.2 (TOXENV=py33) 23 Feb 2015 09:02PM UTC 0
74.74
Travis Job 34.2
3 34.3 (TOXENV=docs) 23 Feb 2015 09:02PM UTC 0
Travis Job 34.3
Source Files on build 34
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #34
  • 86ef6760 on github
  • Next Build on setup.py (#36)
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