File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ jobs:
2222 - name : Install dependencies
2323 run : |
2424 python -m pip install --upgrade pip
25- pip install "blessings>=1.5" "wcwidth>=0.1.4" pyte nose
25+ pip install "blessings>=1.5" "wcwidth>=0.1.4" pyte pytest
2626 - name : Build with Python ${{ matrix.python-version }}
2727 run : |
2828 python setup.py build
29- - name : Test with nosetest
29+ - name : Test with pytest
3030 run : |
31- nosetests .
31+ pytest -s .
Original file line number Diff line number Diff line change 1- [nosetests]
2- with-doctest =1
3- cover-package =curtsies
4- cover-html =1
51[bdist_wheel]
62universal = 1
73[mypy]
Original file line number Diff line number Diff line change @@ -11,10 +11,12 @@ def version():
1111 if line .startswith ("__version__" ):
1212 return ast .parse (line ).body [0 ].value .s
1313
14+
1415def long_description ():
1516 with open ("readme.md" , encoding = "utf-8" ) as f :
1617 return f .read ()
1718
19+
1820setup (
1921 name = "curtsies" ,
2022 version = version (),
@@ -28,9 +30,12 @@ def long_description():
2830 packages = ["curtsies" ],
2931 install_requires = [
3032 "blessings>=1.5" ,
31- "wcwidth>=0.1.4"
33+ "wcwidth>=0.1.4" ,
34+ ],
35+ tests_require = [
36+ "pyte" ,
37+ "pytest" ,
3238 ],
33- tests_require = ["pyte" , "nose" ,],
3439 classifiers = [
3540 "Development Status :: 3 - Alpha" ,
3641 "Environment :: Console" ,
You can’t perform that action at this time.
0 commit comments