Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
chore: utilize PEP 426 env markers
Browse files Browse the repository at this point in the history
so we no longer need pypy specific req files

fixes #848
  • Loading branch information
pjenvey committed Mar 23, 2017
1 parent edf927b commit b0a5983
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN \
apt-get update && \
apt-get install -y -qq libexpat1-dev gcc libssl-dev libffi-dev && \
make clean && \
pip install -r pypy-requirements.txt && \
pip install -r requirements.txt && \
pypy setup.py develop

CMD ["autopush"]
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ APPNAME = autopush
DEPS =
HERE = $(shell pwd)
PTYPE=pypy
REQS=requirements.txt
ifneq ($(PTYPE), python)
REQS=$(PTYPE)-requirements.txt
# avoids pycrypto build issues w/ pypy + libgmp-dev or libmpir-dev
export with_gmp=no
else
REQS=requirements.txt
endif
BIN = $(HERE)/$(PTYPE)/bin
VIRTUALENV = virtualenv
Expand Down
1 change: 0 additions & 1 deletion pypy-requirements.txt

This file was deleted.

2 changes: 0 additions & 2 deletions pypy-test-requirements.txt

This file was deleted.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ typing==3.5.2.2
txaio==2.5.1
ua_parser==0.7.1
zope.interface==4.3.1
wsaccel==0.6.2 ; platform_python_implementation == 'CPython'
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-r requirements.txt
nose
coverage
mock>=1.0.1
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ install_command = pip install --pre {opts} {packages}

[testenv:pypy]
basepython = pypy
deps = -rpypy-test-requirements.txt
# avoids pycrypto build issues w/ pypy + libgmp-dev or libmpir-dev
setenv = with_gmp=no

Expand Down

0 comments on commit b0a5983

Please sign in to comment.