Skip to content

Commit

Permalink
include tests and docs on distribution package
Browse files Browse the repository at this point in the history
  • Loading branch information
schettino72 committed May 7, 2015
1 parent c9c5c92 commit a9f6716
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ dist
.cache
.tox
.pytest-incremental*
MANIFEST
MANIFEST
revision.txt
7 changes: 7 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
Changes
=======


0.4.1 (*2015-05-08*)
====================

- include tests and docs on distribution package


0.4.0 (*2015-05-07*)
====================

Expand Down
47 changes: 43 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
include setup.py
include README.rst
include LICENSE
include .coveragerc
include .gitignore
include .travis.yml
include CHANGES

include LICENSE
include MANIFEST.in
include README.rst
include dev-requirements.txt
include docs/Makefile
include docs/conf.py
include docs/contents.rst
include docs/dictionary.txt
include docs/faq.rst
include docs/index.rst
include docs/make.bat
include docs/runner.rst
include dodo.py
include pytest_incremental.py
include setup.py
include tests/sample-import/README
include tests/sample-import/bar.py
include tests/sample-import/baz.py
include tests/sample-import/foo/__init__.py
include tests/sample-import/foo/foo_a.py
include tests/sample-import/foo/foo_b.py
include tests/sample-import/foo/foo_c.py
include tests/sample-import/foo/foo_d.py
include tests/sample-import/foo/foo_e.py
include tests/sample-import/foo/foo_f.py
include tests/sample-import/foo/sub/__init__.py
include tests/sample-import/foo/sub/sub_a.py
include tests/sample-import/foo/sub/sub_b.py
include tests/sample-inc/dodo.py
include tests/sample-inc/mod1.py
include tests/sample-inc/mod2.py
include tests/sample-inc/tt/conftest.py
include tests/sample-inc/tt/tt_mod1.py
include tests/sample-inc/tt/tt_mod2.py
include tests/test_functional.py
include tests/test_graph.py
include tests/test_import.py
include tests/test_tasks.py
include tox.ini
include revision.txt
10 changes: 10 additions & 0 deletions dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from doitpy.pyflakes import Pyflakes
from doitpy import docs
from doitpy.package import Package


DOIT_CONFIG = {'default_tasks': ['pyflakes',]}
Expand Down Expand Up @@ -33,3 +34,12 @@ def task_coverage():
def task_docs():
doc_files = glob.glob('docs/*.rst') + ['README.rst', ]
yield docs.spell(doc_files, 'docs/dictionary.txt')


def task_package():
"""create/upload package to pypi"""
pkg = Package()
yield pkg.revision_git()
yield pkg.manifest_git()
yield pkg.sdist()
yield pkg.sdist_upload()
2 changes: 1 addition & 1 deletion pytest_incremental.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from __future__ import print_function
from __future__ import unicode_literals

__version__ = (0, 4, 0)
__version__ = (0, 4, 1)

import os
import ast
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(name = 'pytest-incremental',
description = 'an incremental test runner (pytest plugin)',
version = '0.4.0',
version = '0.4.1',
license = 'MIT',
author = 'Eduardo Naufel Schettino',
author_email = 'schettino72@gmail.com',
Expand Down

0 comments on commit a9f6716

Please sign in to comment.