Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
django-representatives
Commits
682ce6a3
Commit
682ce6a3
authored
Jun 14, 2016
by
njoyard
Committed by
GitHub
Jun 14, 2016
Browse files
Merge pull request #33 from political-memory/fix-deps
Fix deps
parents
09be11f6
c5ceb990
Changes
14
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
682ce6a3
sudo
:
false
language
:
python
env
:
-
DJANGO="django>1.8,<1.9"
DJANGO_SETTINGS_MODULE=representatives.tests.settings
-
DJANGO_SETTINGS_MODULE=representatives.tests.settings
python
:
-
"
2.7"
before_install
:
-
pip install codecov
install
:
-
pip install $DJANGO pep8 flake8 pytest-django pytest-cov codecov django-responsediff
-
pip install -e .[api]
-
pip install -e .[api,testing]
script
:
-
pep8 representatives/ --exclude migrations --ignore E128
-
flake8 representatives/ --exclude migrations --ignore E128
...
...
representatives/tests/response_fixtures/RepresentativeManagerTest.test_constituencies_api
/
content
→
representatives/tests/response_fixtures/RepresentativeManagerTest.test_constituencies_api
.
content
View file @
682ce6a3
File moved
representatives/tests/response_fixtures/RepresentativeManagerTest.test_constituencies_api.metadata
0 → 100644
View file @
682ce6a3
{
"status_code": 200
}
\ No newline at end of file
representatives/tests/response_fixtures/RepresentativeManagerTest.test_constituencies_api/status_code
deleted
100644 → 0
View file @
09be11f6
200
\ No newline at end of file
representatives/tests/response_fixtures/RepresentativeManagerTest.test_groups_api
/
content
→
representatives/tests/response_fixtures/RepresentativeManagerTest.test_groups_api
.
content
View file @
682ce6a3
File moved
representatives/tests/response_fixtures/RepresentativeManagerTest.test_groups_api.metadata
0 → 100644
View file @
682ce6a3
{
"status_code": 200
}
\ No newline at end of file
representatives/tests/response_fixtures/RepresentativeManagerTest.test_groups_api/status_code
deleted
100644 → 0
View file @
09be11f6
200
\ No newline at end of file
representatives/tests/response_fixtures/RepresentativeManagerTest.test_mandates_api
/
content
→
representatives/tests/response_fixtures/RepresentativeManagerTest.test_mandates_api
.
content
View file @
682ce6a3
File moved
representatives/tests/response_fixtures/RepresentativeManagerTest.test_mandates_api.metadata
0 → 100644
View file @
682ce6a3
{
"status_code": 200
}
\ No newline at end of file
representatives/tests/response_fixtures/RepresentativeManagerTest.test_mandates_api/status_code
deleted
100644 → 0
View file @
09be11f6
200
\ No newline at end of file
representatives/tests/response_fixtures/RepresentativeManagerTest.test_representatives_api
/
content
→
representatives/tests/response_fixtures/RepresentativeManagerTest.test_representatives_api
.
content
View file @
682ce6a3
File moved
representatives/tests/response_fixtures/RepresentativeManagerTest.test_representatives_api.metadata
0 → 100644
View file @
682ce6a3
{
"status_code": 200
}
\ No newline at end of file
representatives/tests/response_fixtures/RepresentativeManagerTest.test_representatives_api/status_code
deleted
100644 → 0
View file @
09be11f6
200
\ No newline at end of file
setup.py
View file @
682ce6a3
...
...
@@ -12,13 +12,23 @@ setup(
license
=
'GPLv3'
,
keywords
=
'django government parliament'
,
install_requires
=
[
'ijson'
,
'django>=1.8,<1.9'
,
'ijson>=2,<3'
,
],
extras_require
=
{
'celery'
:
'celery'
,
'api'
:
[
'django-filter'
,
'djangorestframework'
,
'django-filter>=0.13,<0.14'
,
'djangorestframework>=3,<4'
,
],
'testing'
:
[
'codecov>=2,<3'
,
'flake8>=2,<3'
,
'pep8>=1,<2'
,
'pytest>=2,<3'
,
'pytest-django>=2,<3'
,
'pytest-cov>=2,<3'
,
'django-responsediff>=0.6,<0.7'
]
},
entry_points
=
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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