Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
6909e92d
Commit
6909e92d
authored
Dec 18, 2014
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop 'setup.py test'. Just use 'runtests.py'.
parent
d8803a35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
setup.py
+0
-15
No files found.
setup.py
View file @
6909e92d
...
@@ -8,20 +8,6 @@ import os
...
@@ -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(
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment