Skip to content

Commit a96252f

Browse files
committed
Merge pull request datadriventests#24 from txels/carles/license
Carles/license
2 parents 08aacf0 + 849142a commit a96252f

File tree

8 files changed

+64
-2
lines changed

8 files changed

+64
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python:
55
#- 3.2
66
- 3.3
77
- 3.4
8-
install: pip install -r test-requirements.txt
8+
install: pip install -r requirements/test.txt
99
script:
1010
- nosetests --with-cov --cover-package=ddt
1111
- flake8 ddt.py test

CONTRIBUTING.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Contributing to DDT
2+
3+
We'll be happy if you want to contribute to the improvement of `ddt`.
4+
5+
Code contributions will take the form of pull requests to
6+
[the github repo](https://github.com/txels/ddt).
7+
8+
Your PRs are more likely to be merged quickly if:
9+
10+
- They adhere to coding conventions in the repo (PEP8)
11+
- They include tests
12+
13+
## Building
14+
15+
16+
The simplest way to build `ddt` is using `tox`:
17+
18+
```
19+
pip install tox
20+
tox
21+
```
22+
23+
This will run tests on various releases of python (2 and 3, as long as they
24+
are installed in your computer), run `flake8` and build the Sphinx
25+
documentation.
26+
27+
PRs to `ddt` are always built by travis-ci using tox.
28+
29+
Alternatively, if you ony want to run tests on your active version of python,
30+
I recommend you make yourself a virtual environment and:
31+
32+
```
33+
pip install -r requirements/build.txt
34+
./build.sh
35+
```

LICENSE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Copyright © 2015 Carles Barrobés and additional contributors.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the “Software”), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7+
of the Software, and to permit persons to whom the Software is furnished to do
8+
so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.
20+
21+
[MIT License](http://mit-license.org/)

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[![Build Status](https://travis-ci.org/txels/ddt.png)](https://travis-ci.org/bulkan/ddt)
2+
[![Code Health](https://landscape.io/github/txels/ddt/master/landscape.svg)](https://landscape.io/github/txels/ddt/master)
23
[![Can I Use Python 3?](https://caniusepython3.com/project/ddt.svg)](https://caniusepython3.com/project/ddt)
34

45
DDT (Data-Driven Tests) allows you to multiply one test case
@@ -11,3 +12,6 @@ Installation
1112
```pip install ddt```
1213

1314
More info at http://ddt.readthedocs.org/
15+
16+
See [Contributing](CONTRIBUTING.md) if you plan to contribute to `ddt`,
17+
and [License](LICENSE.md) if you plan to use it.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
-r test.txt
2+
13
Sphinx
24
sphinxcontrib-programoutput
File renamed without changes.
File renamed without changes.

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
classifiers=[
1717
'Development Status :: 4 - Beta',
1818
'Intended Audience :: Developers',
19-
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
19+
'License :: OSI Approved :: MIT License',
2020
'Operating System :: OS Independent',
2121
'Programming Language :: Python',
2222
'Programming Language :: Python :: 2',

0 commit comments

Comments
 (0)