Skip to content

Commit a9f6716

Browse files
committed
include tests and docs on distribution package
1 parent c9c5c92 commit a9f6716

File tree

6 files changed

+64
-7
lines changed

6 files changed

+64
-7
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ dist
1010
.cache
1111
.tox
1212
.pytest-incremental*
13-
MANIFEST
13+
MANIFEST
14+
revision.txt

CHANGES

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
Changes
44
=======
55

6+
7+
0.4.1 (*2015-05-08*)
8+
====================
9+
10+
- include tests and docs on distribution package
11+
12+
613
0.4.0 (*2015-05-07*)
714
====================
815

MANIFEST.in

+43-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
1-
include setup.py
2-
include README.rst
3-
include LICENSE
1+
include .coveragerc
2+
include .gitignore
3+
include .travis.yml
44
include CHANGES
5-
5+
include LICENSE
6+
include MANIFEST.in
7+
include README.rst
8+
include dev-requirements.txt
9+
include docs/Makefile
10+
include docs/conf.py
11+
include docs/contents.rst
12+
include docs/dictionary.txt
13+
include docs/faq.rst
14+
include docs/index.rst
15+
include docs/make.bat
16+
include docs/runner.rst
17+
include dodo.py
18+
include pytest_incremental.py
19+
include setup.py
20+
include tests/sample-import/README
21+
include tests/sample-import/bar.py
22+
include tests/sample-import/baz.py
23+
include tests/sample-import/foo/__init__.py
24+
include tests/sample-import/foo/foo_a.py
25+
include tests/sample-import/foo/foo_b.py
26+
include tests/sample-import/foo/foo_c.py
27+
include tests/sample-import/foo/foo_d.py
28+
include tests/sample-import/foo/foo_e.py
29+
include tests/sample-import/foo/foo_f.py
30+
include tests/sample-import/foo/sub/__init__.py
31+
include tests/sample-import/foo/sub/sub_a.py
32+
include tests/sample-import/foo/sub/sub_b.py
33+
include tests/sample-inc/dodo.py
34+
include tests/sample-inc/mod1.py
35+
include tests/sample-inc/mod2.py
36+
include tests/sample-inc/tt/conftest.py
37+
include tests/sample-inc/tt/tt_mod1.py
38+
include tests/sample-inc/tt/tt_mod2.py
39+
include tests/test_functional.py
40+
include tests/test_graph.py
41+
include tests/test_import.py
42+
include tests/test_tasks.py
43+
include tox.ini
44+
include revision.txt

dodo.py

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
from doitpy.pyflakes import Pyflakes
55
from doitpy import docs
6+
from doitpy.package import Package
67

78

89
DOIT_CONFIG = {'default_tasks': ['pyflakes',]}
@@ -33,3 +34,12 @@ def task_coverage():
3334
def task_docs():
3435
doc_files = glob.glob('docs/*.rst') + ['README.rst', ]
3536
yield docs.spell(doc_files, 'docs/dictionary.txt')
37+
38+
39+
def task_package():
40+
"""create/upload package to pypi"""
41+
pkg = Package()
42+
yield pkg.revision_git()
43+
yield pkg.manifest_git()
44+
yield pkg.sdist()
45+
yield pkg.sdist_upload()

pytest_incremental.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from __future__ import print_function
1010
from __future__ import unicode_literals
1111

12-
__version__ = (0, 4, 0)
12+
__version__ = (0, 4, 1)
1313

1414
import os
1515
import ast

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(name = 'pytest-incremental',
1111
description = 'an incremental test runner (pytest plugin)',
12-
version = '0.4.0',
12+
version = '0.4.1',
1313
license = 'MIT',
1414
author = 'Eduardo Naufel Schettino',
1515
author_email = '[email protected]',

0 commit comments

Comments
 (0)