Skip to content

Commit

Permalink
:revert: use of nosetests in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
b3j0f committed Jun 15, 2015
1 parent 4cd7494 commit 19b479a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ before_install:
- "sh -e /etc/init.d/xvfb start"
# command to install dependencies
install:
- pip install .
- pip install nose coverage
- pip install coveralls
# command to run tests
script:
- python setup.py nosetests --with-coverage --cover-package pypiview
- coverage run setup.py test
# command to run after success
after_success:
- coveralls
23 changes: 10 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,30 @@

from os.path import abspath, dirname, join

# get setup directory abspath
_path = dirname(abspath(__file__))
# get long description from setup directory abspath
with open(join(dirname(abspath(__file__)), 'README.rst')) as f:
DESC = f.read()

# get long description
with open(join(_path, 'README.rst')) as f:
desc = f.read()

keywords = [
KEYWORDS = [
'utils', 'chaining', 'iterable', 'tools', 'path', 'property', 'dynamic',
'reflection', 'reflect', 'runtime', 'unittest', 'unit test', 'version',
'common'
]

# add ordereddict if version for 2.6.x python version
dependencies = ['ordereddict']
DEPENDENCIES = ['ordereddict']

description = 'Set of tools and utilities useful in python projects'
DESCRIPTION = 'Set of tools and utilities useful in python projects'

setup(
name='b3j0f.utils',
version='0.9.3',
packages=find_packages(exclude=['test.*', '*.test.*']),
author='b3j0f',
author_email='jlabejof@yahoo.fr',
install_requires=dependencies,
description=description,
long_description=desc,
install_requires=DEPENDENCIES,
description=DESCRIPTION,
long_description=DESC,
include_package_data=True,
url='https://github.com/b3j0f/utils/',
license='MIT License',
Expand All @@ -78,5 +75,5 @@
"Programming Language :: Python :: 3.4"
],
test_suite='b3j0f',
keywords=keywords
keywords=KEYWORDS
)

0 comments on commit 19b479a

Please sign in to comment.