Skip to content

Commit e984b5c

Browse files
loosen dependecies and drop requirements.txt file
fixes #7
1 parent 6296123 commit e984b5c

File tree

4 files changed

+16
-59
lines changed

4 files changed

+16
-59
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ python:
55
- "3.4"
66
- "3.5"
77
install:
8-
- "pip install -r requirements.txt"
8+
- "pip install -e .[test]"
99
script:
1010
- "py.test --cov=transloadit"

requirements.txt

Lines changed: 0 additions & 49 deletions
This file was deleted.

setup.py

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
import transloadit
55

66

7-
install_requires = ['requests>=2.11.1,<3', 'six>=1.10.0', 'tuspy>=0.2.2']
7+
install_requires = ['requests>=2.18.4', 'six>=1.11.0', 'tuspy>=0.2.3']
8+
tests_require = [
9+
'requests-mock>=1.3.0', 'mock>=2.0.0', 'coverage>=4.2', 'pytest>=3.0.3',
10+
'pytest-cov>=2.3.1'
11+
]
812

913
try:
1014
import pypandoc
@@ -19,17 +23,20 @@
1923
license='MIT',
2024
author='Ifedapo Olarewaju',
2125
install_requires=install_requires,
26+
tests_require=tests_require,
27+
extras_require={
28+
'test': tests_require,
29+
'dev': ['tox>=2.3.1', 'sphinx-autobuild==0.7.1', 'Sphinx==1.7.1']
30+
},
2231
author_email='[email protected]',
23-
description="A Python Integration for https://transloadit.com file uploading and encoding service.",
32+
description='A Python Integration for https://transloadit.com file uploading and encoding service.',
2433
long_description=long_description,
2534
packages=['transloadit'],
2635
include_package_data=True,
2736
platforms='any',
2837
classifiers=[
29-
'Programming Language :: Python',
30-
'Natural Language :: English',
31-
'Environment :: Web Environment',
32-
'Intended Audience :: Developers',
38+
'Programming Language :: Python', 'Natural Language :: English',
39+
'Environment :: Web Environment', 'Intended Audience :: Developers',
3340
'Development Status :: 3 - Alpha',
3441
'License :: OSI Approved :: MIT License',
3542
'Operating System :: OS Independent',
@@ -38,5 +45,4 @@
3845
'Topic :: Communications :: File Sharing',
3946
'Topic :: Multimedia :: Video :: Conversion',
4047
'Topic :: Multimedia :: Sound/Audio :: Conversion'
41-
]
42-
)
48+
])

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ envlist = py27,py35
33

44
skipsdist = True
55
[testenv]
6-
deps = -rrequirements.txt
6+
deps = -e.[test]
77
commands=py.test --cov=transloadit

0 commit comments

Comments
 (0)