Skip to content

Commit

Permalink
Added nosetests dependency (able to call python setup.py nosetests)
Browse files Browse the repository at this point in the history
Upped version for deploy
  • Loading branch information
ryankanno committed Jun 22, 2014
1 parent bcfa1c2 commit 9ed8a1b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include MANIFEST.in
include README.rst
include requirements-tox.txt
include requirements.txt
include setup.cfg
include setup.py
include TODO
recursive-include py_utilities *.py
Expand Down
2 changes: 1 addition & 1 deletion py_utilities/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
version_info = namedtuple('version_info', ('major', 'minor', 'patch'))


VERSION = version_info(0, 0, 1)
VERSION = version_info(0, 0, 3)


__title__ = 'py_utilities'
Expand Down
7 changes: 7 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[nosetests]
nocapture=1
with-xcoverage=1
cover-package=py_utilities
cover-tests=1
cover-erase=1
with-doctest=1
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
packages = [
'py_utilities',
'py_utilities.collections',
'py_utilities.compression',
'py_utilities.crypto',
'py_utilities.dev',
'py_utilities.excel',
Expand Down Expand Up @@ -61,7 +62,7 @@ def add_meta(match):
# Requires

requires = ['pytz', 'importlib', 'scrypt', 'xlrd', 'ordereddict']
tests_require = ['flake8', 'mock', 'nose', 'nosexcover']
tests_require = ['flake8', 'mock', 'nose>=1.3', 'nosexcover']

with open(os.path.join(here, 'README.rst')) as f:
readme = f.read()
Expand Down Expand Up @@ -92,6 +93,7 @@ def add_meta(match):
license=meta['license'],
tests_require=tests_require,
classifiers=classifiers,
setup_requires=['nose>=1.3']
)


Expand Down

1 comment on commit 9ed8a1b

@lowks
Copy link

@lowks lowks commented on 9ed8a1b Jun 22, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great ! :)

Please sign in to comment.