Skip to content

Commit

Permalink
fixing requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinfo committed Mar 11, 2016
1 parent 2cce718 commit b296ddb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ python:
- "3.5"
install:
- "pip install ."
- "pip install -r requirements.txt"
script: make test
matrix:
fast_finish: true
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

16 changes: 11 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
Documentation and more details at https://github.com/segmentio/analytics-python
'''

install_requires = [
"requests>=2.7,<2.8",
"six>=1.5"
]

if sys.version_info <= (3,0):
install_requires.append('python-dateutil>=1,<2')
else:
install_requires.append('python-dateutil>2')

setup(
name='analytics-python',
version=VERSION,
Expand All @@ -32,11 +42,7 @@
test_suite='analytics.test.all',
packages=['analytics', 'analytics.test'],
license='MIT License',
install_requires=[
'python-dateutil',
'requests',
'six'
],
install_requires=install_requires,
description='The hassle-free way to integrate analytics into any python application.',
long_description=long_description,
classifiers=[
Expand Down

0 comments on commit b296ddb

Please sign in to comment.