Permalink
Browse files

Prevent Python3 installation via "pip3 install pwntools" (#1093)

Pwntools does not work on Python3, so that it installs successfully is misleading.

More information on 'python_requires' can be found here:

    https://packaging.python.org/tutorials/distributing-packages/#python-requires

Specifically, it requires pip 9.0 or better -- but this is the 'official' way to do this.

Fixes #1092
  • Loading branch information...
zachriggle committed Jan 4, 2018
1 parent 5c4def0 commit 7860eecf025135380b137dd9df85dd02a2fd1667
Showing with 1 addition and 0 deletions.
  1. +1 −0 setup.py
View
@@ -85,6 +85,7 @@
setup(
name = 'pwntools',
python_requires = '~=2.7',
packages = find_packages(),
version = '3.13.0dev',
data_files = [('',

0 comments on commit 7860eec

Please sign in to comment.