test typings
This commit is contained in:
Родитель
4325023d34
Коммит
a1203c9875
|
@ -6,7 +6,6 @@ python:
|
|||
|
||||
before_install:
|
||||
- pip install pep8 mypy-lang
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == "3.4" ]]; then pip3 install typing; fi
|
||||
|
||||
script:
|
||||
- make test
|
7
setup.py
7
setup.py
|
@ -6,6 +6,11 @@ if version_info < (3, 4):
|
|||
print('Error: Python 3.4 required but found %s' % python_version())
|
||||
exit(1)
|
||||
|
||||
if version_info < (3, 5):
|
||||
install_requires = ['typing']
|
||||
else:
|
||||
install_requires = []
|
||||
|
||||
with open('README.rst', 'r') as infile:
|
||||
long_description = infile.read()
|
||||
|
||||
|
@ -24,8 +29,8 @@ setup(
|
|||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
license='GPL',
|
||||
install_requires=[],
|
||||
keywords=['nextcloud', 'news', 'updater', 'RSS', 'Atom', 'feed', 'reader'],
|
||||
install_requires=install_requires,
|
||||
classifiers=[
|
||||
'Intended Audience :: System Administrators',
|
||||
'Environment :: Console',
|
||||
|
|
Загрузка…
Ссылка в новой задаче