File tree 5 files changed +22
-6
lines changed 5 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 5
5
# command to install dependencies
6
6
install :
7
7
- pip install . --use-mirrors
8
+ - pip install coveralls --use-mirrors
8
9
# command to run tests
9
- script : nosetests
10
+ script :
11
+ - nosetests --with-coverage
12
+
13
+ after_success :
14
+ - coveralls
15
+
Original file line number Diff line number Diff line change
1
+ [run]
2
+ source = python_utils,tests
3
+ omit = */nose/*
Original file line number Diff line number Diff line change 104
104
105
105
# The theme to use for HTML and HTML Help pages. See the documentation for
106
106
# a list of builtin themes.
107
- html_theme = 'nature '
107
+ html_theme = 'wolph '
108
108
109
109
# Theme options are theme-specific and customize the look and feel of a theme
110
110
# further. For a list of options available for each theme, see the
Original file line number Diff line number Diff line change
1
+ [metadata]
2
+ description-file = README.rst
3
+
1
4
[nosetests]
2
5
verbosity =3
3
6
with-doctest =1
4
7
with-coverage =1
5
8
cover-package =python_utils
9
+ cover-min-percentage =100
6
10
detailed-errors =1
7
11
debug =nose.loader
8
12
pdb =1
9
13
pdb-failures =1
10
14
15
+
11
16
[build_sphinx]
12
17
source-dir = docs/
13
18
build-dir = docs/_build
Original file line number Diff line number Diff line change 1
1
import os
2
- from setuptools import setup , find_packages
3
2
import python_utils
3
+ import setuptools
4
4
5
5
if os .path .isfile ('README.rst' ):
6
6
long_description = open ('README.rst' ).read ()
7
7
else :
8
8
long_description = 'See http://pypi.python.org/pypi/python-utils/'
9
9
10
- setup (
10
+ setuptools . setup (
11
11
name = 'python-utils' ,
12
12
version = python_utils .__version__ ,
13
13
author = python_utils .__author__ ,
14
14
author_email = python_utils .__author_email__ ,
15
15
description = python_utils .__description__ ,
16
16
url = 'https://github.com/WoLpH/python-utils' ,
17
17
license = 'BSD' ,
18
- packages = find_packages (),
18
+ packages = setuptools . find_packages (),
19
19
long_description = long_description ,
20
20
test_suite = 'nose.collector' ,
21
21
tests_requires = ['nose' , 'coverage' ],
22
- classifiers = ['License :: OSI Approved :: BSD License' ],
22
+ classifiers = [
23
+ 'License :: OSI Approved :: BSD License' ,
24
+ ],
23
25
)
24
26
You can’t perform that action at this time.
0 commit comments