mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Merge master
This commit is contained in:
commit
4ea1402916
|
@ -11,3 +11,9 @@ flake8==2.2.2
|
||||||
markdown>=2.1.0
|
markdown>=2.1.0
|
||||||
django-guardian==1.2.4
|
django-guardian==1.2.4
|
||||||
django-filter>=0.5.4
|
django-filter>=0.5.4
|
||||||
|
|
||||||
|
# wheel for PyPI installs
|
||||||
|
wheel==0.24.0
|
||||||
|
|
||||||
|
# MkDocs for documentation previews/deploys
|
||||||
|
mkdocs==0.11.1
|
||||||
|
|
15
setup.py
15
setup.py
|
@ -8,20 +8,6 @@ import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
# This command has been borrowed from
|
|
||||||
# https://github.com/getsentry/sentry/blob/master/setup.py
|
|
||||||
class PyTest(TestCommand):
|
|
||||||
def finalize_options(self):
|
|
||||||
TestCommand.finalize_options(self)
|
|
||||||
self.test_args = ['tests']
|
|
||||||
self.test_suite = True
|
|
||||||
|
|
||||||
def run_tests(self):
|
|
||||||
import pytest
|
|
||||||
errno = pytest.main(self.test_args)
|
|
||||||
sys.exit(errno)
|
|
||||||
|
|
||||||
|
|
||||||
def get_version(package):
|
def get_version(package):
|
||||||
"""
|
"""
|
||||||
Return package version as listed in `__version__` in `init.py`.
|
Return package version as listed in `__version__` in `init.py`.
|
||||||
|
@ -80,7 +66,6 @@ setup(
|
||||||
author_email='tom@tomchristie.com', # SEE NOTE BELOW (*)
|
author_email='tom@tomchristie.com', # SEE NOTE BELOW (*)
|
||||||
packages=get_packages('rest_framework'),
|
packages=get_packages('rest_framework'),
|
||||||
package_data=get_package_data('rest_framework'),
|
package_data=get_package_data('rest_framework'),
|
||||||
cmdclass={'test': PyTest},
|
|
||||||
install_requires=[],
|
install_requires=[],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 5 - Production/Stable',
|
'Development Status :: 5 - Production/Stable',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user