Updated build instructions.

Buildung packages for Python 2 and Python 3 at the same time does not
work.
This commit is contained in:
Michael Hierweck 2016-05-29 13:12:02 +02:00
parent 75948c4a10
commit 2ccc32e656
1 changed files with 25 additions and 6 deletions

View File

@ -1,13 +1,32 @@
Build
=====
Building Debian Packages requires the follwoing Debian Packages to be installed:
python-all
python-stdeb
python3-all
python3-stdeb
Building with Python 2
----------------------
Building Debian Packages with Python 2 requires
the following Debian Packages to be installed:
- python-all
- python-stdeb
Simply build Debian packages for Python 2 and Python 3:
$ python ./setup.py --command-packages=stdeb.command sdist_dsc --with-python2=True --with-python3=True bdist_deb
$ python ./setup.py --command-packages=stdeb.command sdist_dsc --with-python2=true --with-python3=true
$ python ./setup.py --command-packages=stdeb.command bdist_deb
Building with Python 3
-------------_--------
Building Debian Packages with Python 3 requires
the following Debian Packages to be installed:
- python3-all
- python3-stdeb
Simply build Debian packages for Python 2 and Python 3:
$ python3 ./setup.py --command-packages=stdeb.command sdist_dsc --with-python2=true --with-python3=true
$ python3 ./setup.py --command-packages=stdeb.command bdist_deb