File tree 5 files changed +6
-7
lines changed
5 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ include *.md *.txt *.sh *.yml MANIFEST.in
6
6
recursive-include docs *.rst *.png Makefile *.py *.txt
7
7
recursive-include pwnlib *.py *.asm *.rst *.md *.txt *.sh __doc__ *.mako
8
8
recursive-include pwn *.py *.asm *.rst *.md *.txt *.sh
9
- recursive -exclude *.pyc
9
+ global -exclude *.pyc
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ FROM pwntools/pwntools:stable
2
2
3
3
USER root
4
4
RUN python2.7 -m pip install --upgrade git+https://github.com/Gallopsled/pwntools@beta \
5
- && python3 -m pip install --upgrade git+https://github.com/Gallopsled/pwntools@beta
5
+ && python3 -m pip install --force-reinstall -- upgrade git+https://github.com/Gallopsled/pwntools@beta
6
6
RUN PWNLIB_NOTERM=1 pwn update
7
7
USER pwntools
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ FROM pwntools/pwntools:stable
2
2
3
3
USER root
4
4
RUN python2.7 -m pip install --upgrade git+https://github.com/Gallopsled/pwntools@dev \
5
- && python3 -m pip install --upgrade git+https://github.com/Gallopsled/pwntools@dev
5
+ && python3 -m pip install --force-reinstall -- upgrade git+https://github.com/Gallopsled/pwntools@dev
6
6
RUN PWNLIB_NOTERM=1 pwn update
7
7
USER pwntools
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ FROM pwntools/pwntools:base
2
2
3
3
USER root
4
4
RUN python2.7 -m pip install --upgrade git+https://github.com/Gallopsled/pwntools@stable \
5
- && python3 -m pip install --upgrade git+https://github.com/Gallopsled/pwntools@stable
5
+ && python3 -m pip install --force-reinstall -- upgrade git+https://github.com/Gallopsled/pwntools@stable
6
6
RUN PWNLIB_NOTERM=1 pwn update
7
7
USER pwntools
Original file line number Diff line number Diff line change 3
3
4
4
import glob
5
5
import os
6
- import platform
7
- import subprocess
8
6
import sys
9
- import traceback
10
7
from distutils .command .install import INSTALL_SCHEMES
11
8
from distutils .sysconfig import get_python_inc
12
9
from distutils .util import convert_path
13
10
11
+ from setuptools import find_packages
14
12
from setuptools import setup
15
13
16
14
# Get all template files
50
48
51
49
import toml
52
50
project = toml .load ('pyproject.toml' )['project' ]
51
+ compat ['packages' ] = find_packages ()
53
52
compat ['install_requires' ] = project ['dependencies' ]
54
53
compat ['name' ] = project ['name' ]
55
54
# https://github.com/pypa/pip/issues/7953
You can’t perform that action at this time.
0 commit comments