Drop support for Python versions older than 3.5
parent
9d05c9d3e2
commit
41cfb4d382
|
@ -3,8 +3,6 @@ language: python
|
|||
cache: pip
|
||||
dist: xenial
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
|
@ -13,9 +11,9 @@ install:
|
|||
- pip install -U pip setuptools
|
||||
- pip install tox-travis
|
||||
- pip install codecov
|
||||
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then pip install pre-commit; fi
|
||||
- pip install pre-commit
|
||||
script:
|
||||
- tox
|
||||
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then pre-commit run --all-files; fi
|
||||
- pre-commit run --all-files
|
||||
after_success:
|
||||
- codecov
|
||||
|
|
4
setup.py
4
setup.py
|
@ -39,10 +39,7 @@ setup(
|
|||
'Intended Audience :: Developers',
|
||||
'Topic :: Security',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
|
@ -51,7 +48,6 @@ setup(
|
|||
keywords='stix stix2 json cti cyber threat intelligence',
|
||||
packages=find_packages(exclude=['*.test', '*.test.*']),
|
||||
install_requires=[
|
||||
'enum34 ; python_version<"3.4"',
|
||||
'pytz',
|
||||
'requests',
|
||||
'simplejson',
|
||||
|
|
Loading…
Reference in New Issue