Commit b0d4f36c authored by Chris Rose's avatar Chris Rose
Browse files

Updated readme

parent 784391da
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

**cdrx/pyinstaller-linux** and **cdrx/pyinstaller-windows** are a pair of Docker containers to ease compiling Python applications to binaries / exe files.

Current PyInstaller version used: 3.2.
Current PyInstaller version used: 3.2.1.

Current Python versions supported: 2.7 and 3.5.

@@ -50,6 +50,10 @@ Replace `wget` with the dependencies / package(s) you need to install.

Add `pyinstaller=3.1.1` to your `requirements.txt`.

##### Is it possible to use a package mirror?

Yes, by supplying the `PYPI_URL` and `PYPI_INDEX_URL` environment variables that point to your PyPi mirror.

## Known Issues

None
@@ -65,6 +69,13 @@ Added Python 3.4 on Windows, thanks to @bmustiata
#### [1.2] - 2016-12-13
Added Python 3.5 on Windows, thanks (again) to @bmustiata

#### [1.3] - 2017-01-23
Upgraded PyInstaller to version 3.2.1.
Thanks to @bmustiata for contributing:
 - Custom PyPi URLs
 - No longer need to supply a requirements.txt file if your project doesn't need it
 - PyInstaller can be called directly, for e.g to generate a spec file 

## License

MIT
+5 −0
Original line number Diff line number Diff line
@@ -10,6 +10,11 @@ RUN set -x \
    && apt-get install --no-install-recommends -qfy python3 python3-dev python3-pip python3-setuptools python3-wheel build-essential libmysqlclient-dev \
    && apt-get clean

# PYPI repository location
ENV PYPI_URL=https://pypi.python.org/
# PYPI index location
ENV PYPI_INDEX_URL=https://pypi.python.org/simple

# install pyinstaller
RUN pip3 install pyinstaller==$PYINSTALLER_VERSION
RUN ln -s /usr/bin/pip3 /usr/bin/pip
+0 −1
Original line number Diff line number Diff line
@@ -13,4 +13,3 @@ if [[ "$@" == "" ]]; then
else
    $@
fi # [[ "$@" == "" ]]