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:25:57 +02:00
parent 37c76dd9ac
commit 908023d967

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