mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
test_require is deprecated
This commit is contained in:
2
.github/workflows/asciinema.yml
vendored
2
.github/workflows/asciinema.yml
vendored
@@ -39,6 +39,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: python setup.py test
|
run: pip install nose
|
||||||
- name: Run Asciinema tests
|
- name: Run Asciinema tests
|
||||||
run: script -e -c make test
|
run: script -e -c make test
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -7,7 +7,6 @@ if sys.version_info.major < 3:
|
|||||||
|
|
||||||
url_template = 'https://github.com/asciinema/asciinema/archive/v%s.tar.gz'
|
url_template = 'https://github.com/asciinema/asciinema/archive/v%s.tar.gz'
|
||||||
requirements = []
|
requirements = []
|
||||||
test_requirements = ['nose']
|
|
||||||
|
|
||||||
with open('README.md', encoding='utf8') as file:
|
with open('README.md', encoding='utf8') as file:
|
||||||
long_description = file.read()
|
long_description = file.read()
|
||||||
@@ -38,7 +37,6 @@ setup(
|
|||||||
'doc/asciicast-v2.md']),
|
'doc/asciicast-v2.md']),
|
||||||
('share/man/man1', ['man/asciinema.1'])],
|
('share/man/man1', ['man/asciinema.1'])],
|
||||||
install_requires=requirements,
|
install_requires=requirements,
|
||||||
tests_require=test_requirements,
|
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 5 - Production/Stable',
|
'Development Status :: 5 - Production/Stable',
|
||||||
'Environment :: Console',
|
'Environment :: Console',
|
||||||
|
|||||||
Reference in New Issue
Block a user