Skip to content

Commit

Permalink
Merge pull request #61 from macisamuele/maci-fix-build
Browse files Browse the repository at this point in the history
Fix broken build
  • Loading branch information
macisamuele authored Jan 8, 2020
2 parents 10ac95e + da34490 commit c51e289
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
language: python

python:
- "2.7"
- "3.4"

env:
- TOXENV=py27
- TOXENV=py34
- TOXENV=py

install:
- pip install tox coveralls
Expand All @@ -13,5 +16,3 @@ script:
after_success:
- tox -e cover
- coveralls

sudo: false
11 changes: 9 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
],
install_requires=[
'crochet',
'six',
'twisted >= 14.0.0',
'yelp_bytes',
],
extras_require={
Expand All @@ -44,7 +44,14 @@
'pyOpenSSL >= 16.0.0',
'service-identity',
'idna >= 0.6, != 2.3',
]
],

# Defining twisted dependency here to allow twisted
# requirement constraint defined by python_version
'': ['twisted >= 14.0.0'],
# Twisted>=17 does support only python 2.7 and 3.5+
':python_version=="3.3"': ['twisted < 17.0.0'],
':python_version=="3.4"': ['twisted < 17.0.0'],
},
license=about['__license__'],
)

0 comments on commit c51e289

Please sign in to comment.