This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require enum34 only under Python 2.7
It seems like Ubuntu trusty's version of pip does in fact support environment markers. At least it works for mitmproxy: https://github.com/mitmproxy/mitmproxy/blob/deb7844/setup.py#L93-L98 I assume it will also work in Debian 8 "jessie" which has even newer python-{pip,setuptools} than trusty.
- Loading branch information
Showing
4 changed files
with
21 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include requirements.in | ||
include setup.cfg | ||
|
||
include README.rst | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
#!/bin/sh | ||
|
||
# Install the lowest versions of requirements permitted by HTTPolice. | ||
# This checks that these lower bounds are up-to-date. | ||
# Install the lowest versions of requirements permitted by HTTPolice, | ||
# so we can ensure that these lower bounds are up-to-date. | ||
|
||
set -e | ||
|
||
test -e setup.py || { echo 'must run from repo root' >&2; exit 1; } | ||
|
||
sed -e 's/>=/==/g' <requirements.in >minimum_requirements.txt | ||
grep -Eo '[A-Za-z0-9_.]+ >= [A-Za-z0-9_.]+' setup.py | \ | ||
sed -e 's/>=/==/g' >minimum_requirements.txt | ||
pip install -r minimum_requirements.txt |