Skip to content

Commit

Permalink
Improve makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Feb 22, 2013
1 parent a1773ed commit bd80107
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 26 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
bootstrap: bootstrap-tests
pip install -e . --use-mirrors
pip install "file://`pwd`#egg=raven[dev]"

bootstrap-tests:
pip install -r test-requirements.txt --use-mirrors
pip install "flake8>=1.6" --use-mirrors
pip install "file://`pwd`#egg=raven[tests]"

test: lint
test: bootstrap-tests lint
@echo "Running Python tests"
python runtests.py -x
@echo ""
Expand Down
34 changes: 27 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,46 @@
except ImportError:
pass

import os.path
from setuptools import setup, find_packages

tests_require = open(os.path.join(
os.path.dirname(__file__), 'test-requirements.txt'),
).readlines()
dev_requires = [
'flake8>=1.6',
]

tests_require = [
'blinker>=1.1',
'celery>=2.5',
'Django>=1.2',
'django-celery>=2.5',
'exam>=0.5.2',
'Flask>=0.8',
'logbook',
'mock',
'nose',
'pep8',
'pytz',
'pytest',
'pytest-django',
'tornado',
'unittest2',
'webob',
]


setup(
name='raven',
version='3.1.13',
version='3.1.14',
author='David Cramer',
author_email='[email protected]',
url='http://github.com/getsentry/raven-python',
description='Raven is a client for Sentry (https://www.getsentry.com)',
long_description=__doc__,
packages=find_packages(exclude=("tests",)),
zip_safe=False,
tests_require=tests_require,
extras_require={'test': tests_require},
extras_require={
'tests': tests_require,
'dev': dev_requires,
},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
Expand Down
16 changes: 0 additions & 16 deletions test-requirements.txt

This file was deleted.

0 comments on commit bd80107

Please sign in to comment.